<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><link rel="stylesheet" type="text/css" href="style.css" /><script type="text/javascript" src="highlight.js"></script></head><body><pre><span class="hs-comment">{-
   OpenAPI Petstore

   This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \&quot; \\

   OpenAPI Version: 3.0.1
   OpenAPI Petstore API version: 1.0.0
   Generated by OpenAPI Generator (https://openapi-generator.tech)
-}</span><span>
</span><a name="line-10"></a><span>
</span><a name="line-11"></a><span class="hs-comment">{-|
Module : OpenAPIPetstore.Model
-}</span><span>
</span><a name="line-14"></a><span>
</span><a name="line-15"></a><span class="hs-pragma">{-# LANGUAGE DeriveDataTypeable #-}</span><span>
</span><a name="line-16"></a><span class="hs-pragma">{-# LANGUAGE DeriveFoldable #-}</span><span>
</span><a name="line-17"></a><span class="hs-pragma">{-# LANGUAGE DeriveGeneric #-}</span><span>
</span><a name="line-18"></a><span class="hs-pragma">{-# LANGUAGE DeriveTraversable #-}</span><span>
</span><a name="line-19"></a><span class="hs-pragma">{-# LANGUAGE GeneralizedNewtypeDeriving #-}</span><span>
</span><a name="line-20"></a><span class="hs-pragma">{-# LANGUAGE LambdaCase #-}</span><span>
</span><a name="line-21"></a><span class="hs-pragma">{-# LANGUAGE MultiParamTypeClasses #-}</span><span>
</span><a name="line-22"></a><span class="hs-pragma">{-# LANGUAGE NamedFieldPuns #-}</span><span>
</span><a name="line-23"></a><span class="hs-pragma">{-# LANGUAGE OverloadedStrings #-}</span><span>
</span><a name="line-24"></a><span class="hs-pragma">{-# LANGUAGE RecordWildCards #-}</span><span>
</span><a name="line-25"></a><span class="hs-pragma">{-# LANGUAGE TupleSections #-}</span><span>
</span><a name="line-26"></a><span class="hs-pragma">{-# LANGUAGE TypeFamilies #-}</span><span>
</span><a name="line-27"></a><span class="hs-pragma">{-# OPTIONS_GHC -fno-warn-unused-matches -fno-warn-unused-binds -fno-warn-unused-imports #-}</span><span>
</span><a name="line-28"></a><span>
</span><a name="line-29"></a><span class="hs-keyword">module</span><span> </span><span class="hs-identifier">OpenAPIPetstore.Model</span><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-30"></a><span>
</span><a name="line-31"></a><span class="hs-keyword">import</span><span> </span><a href="OpenAPIPetstore.Core.html"><span class="hs-identifier">OpenAPIPetstore.Core</span></a><span>
</span><a name="line-32"></a><span class="hs-keyword">import</span><span> </span><a href="OpenAPIPetstore.MimeTypes.html"><span class="hs-identifier">OpenAPIPetstore.MimeTypes</span></a><span>
</span><a name="line-33"></a><span>
</span><a name="line-34"></a><span class="hs-keyword">import</span><span> </span><span class="hs-identifier">Data.Aeson</span><span> </span><span class="hs-special">(</span><span class="hs-special">(</span><span class="hs-operator hs-var">.:</span><span class="hs-special">)</span><span class="hs-special">,</span><span class="hs-special">(</span><span class="hs-operator hs-var">.:!</span><span class="hs-special">)</span><span class="hs-special">,</span><span class="hs-special">(</span><span class="hs-operator hs-var">.:?</span><span class="hs-special">)</span><span class="hs-special">,</span><span class="hs-special">(</span><span class="hs-operator hs-var">.=</span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><a name="line-35"></a><span>
</span><a name="line-36"></a><span class="hs-keyword">import</span><span> </span><span class="hs-keyword">qualified</span><span> </span><span class="hs-identifier">Control.Arrow</span><span> </span><span class="hs-keyword">as</span><span> </span><span class="hs-identifier">P</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-var">left</span><span class="hs-special">)</span><span>
</span><a name="line-37"></a><span class="hs-keyword">import</span><span> </span><span class="hs-keyword">qualified</span><span> </span><span class="hs-identifier">Data.Aeson</span><span> </span><span class="hs-keyword">as</span><span> </span><span class="hs-identifier">A</span><span>
</span><a name="line-38"></a><span class="hs-keyword">import</span><span> </span><span class="hs-keyword">qualified</span><span> </span><span class="hs-identifier">Data.ByteString</span><span> </span><span class="hs-keyword">as</span><span> </span><span class="hs-identifier">B</span><span>
</span><a name="line-39"></a><span class="hs-keyword">import</span><span> </span><span class="hs-keyword">qualified</span><span> </span><span class="hs-identifier">Data.ByteString.Base64</span><span> </span><span class="hs-keyword">as</span><span> </span><span class="hs-identifier">B64</span><span>
</span><a name="line-40"></a><span class="hs-keyword">import</span><span> </span><span class="hs-keyword">qualified</span><span> </span><span class="hs-identifier">Data.ByteString.Char8</span><span> </span><span class="hs-keyword">as</span><span> </span><span class="hs-identifier">BC</span><span>
</span><a name="line-41"></a><span class="hs-keyword">import</span><span> </span><span class="hs-keyword">qualified</span><span> </span><span class="hs-identifier">Data.ByteString.Lazy</span><span> </span><span class="hs-keyword">as</span><span> </span><span class="hs-identifier">BL</span><span>
</span><a name="line-42"></a><span class="hs-keyword">import</span><span> </span><span class="hs-keyword">qualified</span><span> </span><span class="hs-identifier">Data.Data</span><span> </span><span class="hs-keyword">as</span><span> </span><span class="hs-identifier">P</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">Typeable</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">TypeRep</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-var">typeOf</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-var">typeRep</span><span class="hs-special">)</span><span>
</span><a name="line-43"></a><span class="hs-keyword">import</span><span> </span><span class="hs-keyword">qualified</span><span> </span><span class="hs-identifier">Data.Foldable</span><span> </span><span class="hs-keyword">as</span><span> </span><span class="hs-identifier">P</span><span>
</span><a name="line-44"></a><span class="hs-keyword">import</span><span> </span><span class="hs-keyword">qualified</span><span> </span><span class="hs-identifier">Data.HashMap.Lazy</span><span> </span><span class="hs-keyword">as</span><span> </span><span class="hs-identifier">HM</span><span>
</span><a name="line-45"></a><span class="hs-keyword">import</span><span> </span><span class="hs-keyword">qualified</span><span> </span><span class="hs-identifier">Data.Map</span><span> </span><span class="hs-keyword">as</span><span> </span><span class="hs-identifier">Map</span><span>
</span><a name="line-46"></a><span class="hs-keyword">import</span><span> </span><span class="hs-keyword">qualified</span><span> </span><span class="hs-identifier">Data.Maybe</span><span> </span><span class="hs-keyword">as</span><span> </span><span class="hs-identifier">P</span><span>
</span><a name="line-47"></a><span class="hs-keyword">import</span><span> </span><span class="hs-keyword">qualified</span><span> </span><span class="hs-identifier">Data.Set</span><span> </span><span class="hs-keyword">as</span><span> </span><span class="hs-identifier">Set</span><span>
</span><a name="line-48"></a><span class="hs-keyword">import</span><span> </span><span class="hs-keyword">qualified</span><span> </span><span class="hs-identifier">Data.Text</span><span> </span><span class="hs-keyword">as</span><span> </span><span class="hs-identifier">T</span><span>
</span><a name="line-49"></a><span class="hs-keyword">import</span><span> </span><span class="hs-keyword">qualified</span><span> </span><span class="hs-identifier">Data.Text.Encoding</span><span> </span><span class="hs-keyword">as</span><span> </span><span class="hs-identifier">T</span><span>
</span><a name="line-50"></a><span class="hs-keyword">import</span><span> </span><span class="hs-keyword">qualified</span><span> </span><span class="hs-identifier">Data.Time</span><span> </span><span class="hs-keyword">as</span><span> </span><span class="hs-identifier">TI</span><span>
</span><a name="line-51"></a><span class="hs-keyword">import</span><span> </span><span class="hs-keyword">qualified</span><span> </span><span class="hs-identifier">Lens.Micro</span><span> </span><span class="hs-keyword">as</span><span> </span><span class="hs-identifier">L</span><span>
</span><a name="line-52"></a><span class="hs-keyword">import</span><span> </span><span class="hs-keyword">qualified</span><span> </span><span class="hs-identifier">Web.FormUrlEncoded</span><span> </span><span class="hs-keyword">as</span><span> </span><span class="hs-identifier">WH</span><span>
</span><a name="line-53"></a><span class="hs-keyword">import</span><span> </span><span class="hs-keyword">qualified</span><span> </span><span class="hs-identifier">Web.HttpApiData</span><span> </span><span class="hs-keyword">as</span><span> </span><span class="hs-identifier">WH</span><span>
</span><a name="line-54"></a><span>
</span><a name="line-55"></a><span class="hs-keyword">import</span><span> </span><span class="hs-identifier">Control.Applicative</span><span> </span><span class="hs-special">(</span><span class="hs-special">(</span><span class="hs-operator hs-var">&lt;|&gt;</span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><a name="line-56"></a><span class="hs-keyword">import</span><span> </span><span class="hs-identifier">Control.Applicative</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">Alternative</span><span class="hs-special">)</span><span>
</span><a name="line-57"></a><span class="hs-keyword">import</span><span> </span><span class="hs-identifier">Data.Function</span><span> </span><span class="hs-special">(</span><span class="hs-special">(</span><span class="hs-operator hs-var">&amp;</span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><a name="line-58"></a><span class="hs-keyword">import</span><span> </span><span class="hs-identifier">Data.Monoid</span><span> </span><span class="hs-special">(</span><span class="hs-special">(</span><span class="hs-operator hs-var">&lt;&gt;</span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><a name="line-59"></a><span class="hs-keyword">import</span><span> </span><span class="hs-identifier">Data.Text</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">Text</span><span class="hs-special">)</span><span>
</span><a name="line-60"></a><span class="hs-keyword">import</span><span> </span><span class="hs-identifier">Prelude</span><span> </span><span class="hs-special">(</span><span class="hs-special">(</span><span class="hs-operator hs-var">$</span><span class="hs-special">)</span><span class="hs-special">,</span><span class="hs-special">(</span><span class="hs-operator hs-var">/=</span><span class="hs-special">)</span><span class="hs-special">,</span><span class="hs-special">(</span><span class="hs-operator hs-var">.</span><span class="hs-special">)</span><span class="hs-special">,</span><span class="hs-special">(</span><span class="hs-operator hs-var">&lt;$&gt;</span><span class="hs-special">)</span><span class="hs-special">,</span><span class="hs-special">(</span><span class="hs-operator hs-var">&lt;*&gt;</span><span class="hs-special">)</span><span class="hs-special">,</span><span class="hs-special">(</span><span class="hs-operator hs-var">&gt;&gt;=</span><span class="hs-special">)</span><span class="hs-special">,</span><span class="hs-special">(</span><span class="hs-operator hs-var">=&lt;&lt;</span><span class="hs-special">)</span><span class="hs-special">,</span><span class="hs-identifier hs-type">Maybe</span><span class="hs-special">(</span><span class="hs-glyph">..</span><span class="hs-special">)</span><span class="hs-special">,</span><span class="hs-identifier hs-type">Bool</span><span class="hs-special">(</span><span class="hs-glyph">..</span><span class="hs-special">)</span><span class="hs-special">,</span><span class="hs-identifier hs-type">Char</span><span class="hs-special">,</span><span class="hs-identifier hs-type">Double</span><span class="hs-special">,</span><span class="hs-identifier hs-type">FilePath</span><span class="hs-special">,</span><span class="hs-identifier hs-type">Float</span><span class="hs-special">,</span><span class="hs-identifier hs-type">Int</span><span class="hs-special">,</span><span class="hs-identifier hs-type">Integer</span><span class="hs-special">,</span><span class="hs-identifier hs-type">String</span><span class="hs-special">,</span><span class="hs-identifier hs-var">fmap</span><span class="hs-special">,</span><span class="hs-identifier hs-var">undefined</span><span class="hs-special">,</span><span class="hs-identifier hs-var">mempty</span><span class="hs-special">,</span><span class="hs-identifier hs-var">maybe</span><span class="hs-special">,</span><span class="hs-identifier hs-var">pure</span><span class="hs-special">,</span><span class="hs-identifier hs-type">Monad</span><span class="hs-special">,</span><span class="hs-identifier hs-type">Applicative</span><span class="hs-special">,</span><span class="hs-identifier hs-type">Functor</span><span class="hs-special">)</span><span>
</span><a name="line-61"></a><span>
</span><a name="line-62"></a><span class="hs-keyword">import</span><span> </span><span class="hs-keyword">qualified</span><span> </span><span class="hs-identifier">Prelude</span><span> </span><span class="hs-keyword">as</span><span> </span><span class="hs-identifier">P</span><span>
</span><a name="line-63"></a><span>
</span><a name="line-64"></a><span>
</span><a name="line-65"></a><span>
</span><a name="line-66"></a><span class="hs-comment">-- * Parameter newtypes</span><span>
</span><a name="line-67"></a><span>
</span><a name="line-68"></a><span>
</span><a name="line-69"></a><span class="hs-comment">-- ** AdditionalMetadata</span><span>
</span><a name="line-70"></a><span class="hs-keyword">newtype</span><span> </span><a name="AdditionalMetadata"><a href="OpenAPIPetstore.Model.html#AdditionalMetadata"><span class="hs-identifier">AdditionalMetadata</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="AdditionalMetadata"><a href="OpenAPIPetstore.Model.html#AdditionalMetadata"><span class="hs-identifier">AdditionalMetadata</span></a></a><span> </span><span class="hs-special">{</span><span> </span><a name="unAdditionalMetadata"><a href="OpenAPIPetstore.Model.html#unAdditionalMetadata"><span class="hs-identifier">unAdditionalMetadata</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier hs-type">Text</span><span> </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">)</span><span>
</span><a name="line-71"></a><span>
</span><a name="line-72"></a><span class="hs-comment">-- ** ApiKey</span><span>
</span><a name="line-73"></a><span class="hs-keyword">newtype</span><span> </span><a name="ApiKey"><a href="OpenAPIPetstore.Model.html#ApiKey"><span class="hs-identifier">ApiKey</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="ApiKey"><a href="OpenAPIPetstore.Model.html#ApiKey"><span class="hs-identifier">ApiKey</span></a></a><span> </span><span class="hs-special">{</span><span> </span><a name="unApiKey"><a href="OpenAPIPetstore.Model.html#unApiKey"><span class="hs-identifier">unApiKey</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier hs-type">Text</span><span> </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">)</span><span>
</span><a name="line-74"></a><span>
</span><a name="line-75"></a><span class="hs-comment">-- ** Body</span><span>
</span><a name="line-76"></a><span class="hs-keyword">newtype</span><span> </span><a name="Body"><a href="OpenAPIPetstore.Model.html#Body"><span class="hs-identifier">Body</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="Body"><a href="OpenAPIPetstore.Model.html#Body"><span class="hs-identifier">Body</span></a></a><span> </span><span class="hs-special">{</span><span> </span><a name="unBody"><a href="OpenAPIPetstore.Model.html#unBody"><span class="hs-identifier">unBody</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-special">[</span><a href="OpenAPIPetstore.Model.html#User"><span class="hs-identifier hs-type">User</span></a><span class="hs-special">]</span><span> </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">A.ToJSON</span><span class="hs-special">)</span><span>
</span><a name="line-77"></a><span>
</span><a name="line-78"></a><span class="hs-comment">-- ** BodyBool</span><span>
</span><a name="line-79"></a><span class="hs-keyword">newtype</span><span> </span><a name="BodyBool"><a href="OpenAPIPetstore.Model.html#BodyBool"><span class="hs-identifier">BodyBool</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="BodyBool"><a href="OpenAPIPetstore.Model.html#BodyBool"><span class="hs-identifier">BodyBool</span></a></a><span> </span><span class="hs-special">{</span><span> </span><a name="unBodyBool"><a href="OpenAPIPetstore.Model.html#unBodyBool"><span class="hs-identifier">unBodyBool</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier hs-type">Bool</span><span> </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">A.ToJSON</span><span class="hs-special">)</span><span>
</span><a name="line-80"></a><span>
</span><a name="line-81"></a><span class="hs-comment">-- ** BodyDouble</span><span>
</span><a name="line-82"></a><span class="hs-keyword">newtype</span><span> </span><a name="BodyDouble"><a href="OpenAPIPetstore.Model.html#BodyDouble"><span class="hs-identifier">BodyDouble</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="BodyDouble"><a href="OpenAPIPetstore.Model.html#BodyDouble"><span class="hs-identifier">BodyDouble</span></a></a><span> </span><span class="hs-special">{</span><span> </span><a name="unBodyDouble"><a href="OpenAPIPetstore.Model.html#unBodyDouble"><span class="hs-identifier">unBodyDouble</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier hs-type">Double</span><span> </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">A.ToJSON</span><span class="hs-special">)</span><span>
</span><a name="line-83"></a><span>
</span><a name="line-84"></a><span class="hs-comment">-- ** BodyText</span><span>
</span><a name="line-85"></a><span class="hs-keyword">newtype</span><span> </span><a name="BodyText"><a href="OpenAPIPetstore.Model.html#BodyText"><span class="hs-identifier">BodyText</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="BodyText"><a href="OpenAPIPetstore.Model.html#BodyText"><span class="hs-identifier">BodyText</span></a></a><span> </span><span class="hs-special">{</span><span> </span><a name="unBodyText"><a href="OpenAPIPetstore.Model.html#unBodyText"><span class="hs-identifier">unBodyText</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier hs-type">Text</span><span> </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">A.ToJSON</span><span class="hs-special">)</span><span>
</span><a name="line-86"></a><span>
</span><a name="line-87"></a><span class="hs-comment">-- ** BooleanGroup</span><span>
</span><a name="line-88"></a><span class="hs-keyword">newtype</span><span> </span><a name="BooleanGroup"><a href="OpenAPIPetstore.Model.html#BooleanGroup"><span class="hs-identifier">BooleanGroup</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="BooleanGroup"><a href="OpenAPIPetstore.Model.html#BooleanGroup"><span class="hs-identifier">BooleanGroup</span></a></a><span> </span><span class="hs-special">{</span><span> </span><a name="unBooleanGroup"><a href="OpenAPIPetstore.Model.html#unBooleanGroup"><span class="hs-identifier">unBooleanGroup</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier hs-type">Bool</span><span> </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">)</span><span>
</span><a name="line-89"></a><span>
</span><a name="line-90"></a><span class="hs-comment">-- ** Byte</span><span>
</span><a name="line-91"></a><span class="hs-keyword">newtype</span><span> </span><a name="Byte"><a href="OpenAPIPetstore.Model.html#Byte"><span class="hs-identifier">Byte</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="Byte"><a href="OpenAPIPetstore.Model.html#Byte"><span class="hs-identifier">Byte</span></a></a><span> </span><span class="hs-special">{</span><span> </span><a name="unByte"><a href="OpenAPIPetstore.Model.html#unByte"><span class="hs-identifier">unByte</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><a href="OpenAPIPetstore.Core.html#ByteArray"><span class="hs-identifier hs-type">ByteArray</span></a><span> </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">)</span><span>
</span><a name="line-92"></a><span>
</span><a name="line-93"></a><span class="hs-comment">-- ** Callback</span><span>
</span><a name="line-94"></a><span class="hs-keyword">newtype</span><span> </span><a name="Callback"><a href="OpenAPIPetstore.Model.html#Callback"><span class="hs-identifier">Callback</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="Callback"><a href="OpenAPIPetstore.Model.html#Callback"><span class="hs-identifier">Callback</span></a></a><span> </span><span class="hs-special">{</span><span> </span><a name="unCallback"><a href="OpenAPIPetstore.Model.html#unCallback"><span class="hs-identifier">unCallback</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier hs-type">Text</span><span> </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">)</span><span>
</span><a name="line-95"></a><span>
</span><a name="line-96"></a><span class="hs-comment">-- ** Context</span><span>
</span><a name="line-97"></a><span class="hs-keyword">newtype</span><span> </span><a name="Context"><a href="OpenAPIPetstore.Model.html#Context"><span class="hs-identifier">Context</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="Context"><a href="OpenAPIPetstore.Model.html#Context"><span class="hs-identifier">Context</span></a></a><span> </span><span class="hs-special">{</span><span> </span><a name="unContext"><a href="OpenAPIPetstore.Model.html#unContext"><span class="hs-identifier">unContext</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-special">[</span><span class="hs-identifier hs-type">Text</span><span class="hs-special">]</span><span> </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">)</span><span>
</span><a name="line-98"></a><span>
</span><a name="line-99"></a><span class="hs-comment">-- ** EnumFormString</span><span>
</span><a name="line-100"></a><span class="hs-keyword">newtype</span><span> </span><a name="EnumFormString"><a href="OpenAPIPetstore.Model.html#EnumFormString"><span class="hs-identifier">EnumFormString</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="EnumFormString"><a href="OpenAPIPetstore.Model.html#EnumFormString"><span class="hs-identifier">EnumFormString</span></a></a><span> </span><span class="hs-special">{</span><span> </span><a name="unEnumFormString"><a href="OpenAPIPetstore.Model.html#unEnumFormString"><span class="hs-identifier">unEnumFormString</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27EnumFormString"><span class="hs-identifier hs-type">E'EnumFormString</span></a><span> </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">)</span><span>
</span><a name="line-101"></a><span>
</span><a name="line-102"></a><span class="hs-comment">-- ** EnumFormStringArray</span><span>
</span><a name="line-103"></a><span class="hs-keyword">newtype</span><span> </span><a name="EnumFormStringArray"><a href="OpenAPIPetstore.Model.html#EnumFormStringArray"><span class="hs-identifier">EnumFormStringArray</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="EnumFormStringArray"><a href="OpenAPIPetstore.Model.html#EnumFormStringArray"><span class="hs-identifier">EnumFormStringArray</span></a></a><span> </span><span class="hs-special">{</span><span> </span><a name="unEnumFormStringArray"><a href="OpenAPIPetstore.Model.html#unEnumFormStringArray"><span class="hs-identifier">unEnumFormStringArray</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-special">[</span><a href="OpenAPIPetstore.Model.html#E%27EnumFormStringArray"><span class="hs-identifier hs-type">E'EnumFormStringArray</span></a><span class="hs-special">]</span><span> </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">)</span><span>
</span><a name="line-104"></a><span>
</span><a name="line-105"></a><span class="hs-comment">-- ** EnumHeaderString</span><span>
</span><a name="line-106"></a><span class="hs-keyword">newtype</span><span> </span><a name="EnumHeaderString"><a href="OpenAPIPetstore.Model.html#EnumHeaderString"><span class="hs-identifier">EnumHeaderString</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="EnumHeaderString"><a href="OpenAPIPetstore.Model.html#EnumHeaderString"><span class="hs-identifier">EnumHeaderString</span></a></a><span> </span><span class="hs-special">{</span><span> </span><a name="unEnumHeaderString"><a href="OpenAPIPetstore.Model.html#unEnumHeaderString"><span class="hs-identifier">unEnumHeaderString</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27EnumFormString"><span class="hs-identifier hs-type">E'EnumFormString</span></a><span> </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">)</span><span>
</span><a name="line-107"></a><span>
</span><a name="line-108"></a><span class="hs-comment">-- ** EnumHeaderStringArray</span><span>
</span><a name="line-109"></a><span class="hs-keyword">newtype</span><span> </span><a name="EnumHeaderStringArray"><a href="OpenAPIPetstore.Model.html#EnumHeaderStringArray"><span class="hs-identifier">EnumHeaderStringArray</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="EnumHeaderStringArray"><a href="OpenAPIPetstore.Model.html#EnumHeaderStringArray"><span class="hs-identifier">EnumHeaderStringArray</span></a></a><span> </span><span class="hs-special">{</span><span> </span><a name="unEnumHeaderStringArray"><a href="OpenAPIPetstore.Model.html#unEnumHeaderStringArray"><span class="hs-identifier">unEnumHeaderStringArray</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-special">[</span><a href="OpenAPIPetstore.Model.html#E%27EnumFormStringArray"><span class="hs-identifier hs-type">E'EnumFormStringArray</span></a><span class="hs-special">]</span><span> </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">)</span><span>
</span><a name="line-110"></a><span>
</span><a name="line-111"></a><span class="hs-comment">-- ** EnumQueryDouble</span><span>
</span><a name="line-112"></a><span class="hs-keyword">newtype</span><span> </span><a name="EnumQueryDouble"><a href="OpenAPIPetstore.Model.html#EnumQueryDouble"><span class="hs-identifier">EnumQueryDouble</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="EnumQueryDouble"><a href="OpenAPIPetstore.Model.html#EnumQueryDouble"><span class="hs-identifier">EnumQueryDouble</span></a></a><span> </span><span class="hs-special">{</span><span> </span><a name="unEnumQueryDouble"><a href="OpenAPIPetstore.Model.html#unEnumQueryDouble"><span class="hs-identifier">unEnumQueryDouble</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27EnumNumber"><span class="hs-identifier hs-type">E'EnumNumber</span></a><span> </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">)</span><span>
</span><a name="line-113"></a><span>
</span><a name="line-114"></a><span class="hs-comment">-- ** EnumQueryInteger</span><span>
</span><a name="line-115"></a><span class="hs-keyword">newtype</span><span> </span><a name="EnumQueryInteger"><a href="OpenAPIPetstore.Model.html#EnumQueryInteger"><span class="hs-identifier">EnumQueryInteger</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="EnumQueryInteger"><a href="OpenAPIPetstore.Model.html#EnumQueryInteger"><span class="hs-identifier">EnumQueryInteger</span></a></a><span> </span><span class="hs-special">{</span><span> </span><a name="unEnumQueryInteger"><a href="OpenAPIPetstore.Model.html#unEnumQueryInteger"><span class="hs-identifier">unEnumQueryInteger</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27EnumQueryInteger"><span class="hs-identifier hs-type">E'EnumQueryInteger</span></a><span> </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">)</span><span>
</span><a name="line-116"></a><span>
</span><a name="line-117"></a><span class="hs-comment">-- ** EnumQueryString</span><span>
</span><a name="line-118"></a><span class="hs-keyword">newtype</span><span> </span><a name="EnumQueryString"><a href="OpenAPIPetstore.Model.html#EnumQueryString"><span class="hs-identifier">EnumQueryString</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="EnumQueryString"><a href="OpenAPIPetstore.Model.html#EnumQueryString"><span class="hs-identifier">EnumQueryString</span></a></a><span> </span><span class="hs-special">{</span><span> </span><a name="unEnumQueryString"><a href="OpenAPIPetstore.Model.html#unEnumQueryString"><span class="hs-identifier">unEnumQueryString</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27EnumFormString"><span class="hs-identifier hs-type">E'EnumFormString</span></a><span> </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">)</span><span>
</span><a name="line-119"></a><span>
</span><a name="line-120"></a><span class="hs-comment">-- ** EnumQueryStringArray</span><span>
</span><a name="line-121"></a><span class="hs-keyword">newtype</span><span> </span><a name="EnumQueryStringArray"><a href="OpenAPIPetstore.Model.html#EnumQueryStringArray"><span class="hs-identifier">EnumQueryStringArray</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="EnumQueryStringArray"><a href="OpenAPIPetstore.Model.html#EnumQueryStringArray"><span class="hs-identifier">EnumQueryStringArray</span></a></a><span> </span><span class="hs-special">{</span><span> </span><a name="unEnumQueryStringArray"><a href="OpenAPIPetstore.Model.html#unEnumQueryStringArray"><span class="hs-identifier">unEnumQueryStringArray</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-special">[</span><a href="OpenAPIPetstore.Model.html#E%27EnumFormStringArray"><span class="hs-identifier hs-type">E'EnumFormStringArray</span></a><span class="hs-special">]</span><span> </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">)</span><span>
</span><a name="line-122"></a><span>
</span><a name="line-123"></a><span class="hs-comment">-- ** File2</span><span>
</span><a name="line-124"></a><span class="hs-keyword">newtype</span><span> </span><a name="File2"><a href="OpenAPIPetstore.Model.html#File2"><span class="hs-identifier">File2</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="File2"><a href="OpenAPIPetstore.Model.html#File2"><span class="hs-identifier">File2</span></a></a><span> </span><span class="hs-special">{</span><span> </span><a name="unFile2"><a href="OpenAPIPetstore.Model.html#unFile2"><span class="hs-identifier">unFile2</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier hs-type">FilePath</span><span> </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">)</span><span>
</span><a name="line-125"></a><span>
</span><a name="line-126"></a><span class="hs-comment">-- ** Http</span><span>
</span><a name="line-127"></a><span class="hs-keyword">newtype</span><span> </span><a name="Http"><a href="OpenAPIPetstore.Model.html#Http"><span class="hs-identifier">Http</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="Http"><a href="OpenAPIPetstore.Model.html#Http"><span class="hs-identifier">Http</span></a></a><span> </span><span class="hs-special">{</span><span> </span><a name="unHttp"><a href="OpenAPIPetstore.Model.html#unHttp"><span class="hs-identifier">unHttp</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-special">[</span><span class="hs-identifier hs-type">Text</span><span class="hs-special">]</span><span> </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">)</span><span>
</span><a name="line-128"></a><span>
</span><a name="line-129"></a><span class="hs-comment">-- ** Int32</span><span>
</span><a name="line-130"></a><span class="hs-keyword">newtype</span><span> </span><a name="Int32"><a href="OpenAPIPetstore.Model.html#Int32"><span class="hs-identifier">Int32</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="Int32"><a href="OpenAPIPetstore.Model.html#Int32"><span class="hs-identifier">Int32</span></a></a><span> </span><span class="hs-special">{</span><span> </span><a name="unInt32"><a href="OpenAPIPetstore.Model.html#unInt32"><span class="hs-identifier">unInt32</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier hs-type">Int</span><span> </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">)</span><span>
</span><a name="line-131"></a><span>
</span><a name="line-132"></a><span class="hs-comment">-- ** Int64</span><span>
</span><a name="line-133"></a><span class="hs-keyword">newtype</span><span> </span><a name="Int64"><a href="OpenAPIPetstore.Model.html#Int64"><span class="hs-identifier">Int64</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="Int64"><a href="OpenAPIPetstore.Model.html#Int64"><span class="hs-identifier">Int64</span></a></a><span> </span><span class="hs-special">{</span><span> </span><a name="unInt64"><a href="OpenAPIPetstore.Model.html#unInt64"><span class="hs-identifier">unInt64</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier hs-type">Integer</span><span> </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">)</span><span>
</span><a name="line-134"></a><span>
</span><a name="line-135"></a><span class="hs-comment">-- ** Int64Group</span><span>
</span><a name="line-136"></a><span class="hs-keyword">newtype</span><span> </span><a name="Int64Group"><a href="OpenAPIPetstore.Model.html#Int64Group"><span class="hs-identifier">Int64Group</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="Int64Group"><a href="OpenAPIPetstore.Model.html#Int64Group"><span class="hs-identifier">Int64Group</span></a></a><span> </span><span class="hs-special">{</span><span> </span><a name="unInt64Group"><a href="OpenAPIPetstore.Model.html#unInt64Group"><span class="hs-identifier">unInt64Group</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier hs-type">Integer</span><span> </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">)</span><span>
</span><a name="line-137"></a><span>
</span><a name="line-138"></a><span class="hs-comment">-- ** Ioutil</span><span>
</span><a name="line-139"></a><span class="hs-keyword">newtype</span><span> </span><a name="Ioutil"><a href="OpenAPIPetstore.Model.html#Ioutil"><span class="hs-identifier">Ioutil</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="Ioutil"><a href="OpenAPIPetstore.Model.html#Ioutil"><span class="hs-identifier">Ioutil</span></a></a><span> </span><span class="hs-special">{</span><span> </span><a name="unIoutil"><a href="OpenAPIPetstore.Model.html#unIoutil"><span class="hs-identifier">unIoutil</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-special">[</span><span class="hs-identifier hs-type">Text</span><span class="hs-special">]</span><span> </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">)</span><span>
</span><a name="line-140"></a><span>
</span><a name="line-141"></a><span class="hs-comment">-- ** Name2</span><span>
</span><a name="line-142"></a><span class="hs-keyword">newtype</span><span> </span><a name="Name2"><a href="OpenAPIPetstore.Model.html#Name2"><span class="hs-identifier">Name2</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="Name2"><a href="OpenAPIPetstore.Model.html#Name2"><span class="hs-identifier">Name2</span></a></a><span> </span><span class="hs-special">{</span><span> </span><a name="unName2"><a href="OpenAPIPetstore.Model.html#unName2"><span class="hs-identifier">unName2</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier hs-type">Text</span><span> </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">)</span><span>
</span><a name="line-143"></a><span>
</span><a name="line-144"></a><span class="hs-comment">-- ** Number</span><span>
</span><a name="line-145"></a><span class="hs-keyword">newtype</span><span> </span><a name="Number"><a href="OpenAPIPetstore.Model.html#Number"><span class="hs-identifier">Number</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="Number"><a href="OpenAPIPetstore.Model.html#Number"><span class="hs-identifier">Number</span></a></a><span> </span><span class="hs-special">{</span><span> </span><a name="unNumber"><a href="OpenAPIPetstore.Model.html#unNumber"><span class="hs-identifier">unNumber</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier hs-type">Double</span><span> </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">)</span><span>
</span><a name="line-146"></a><span>
</span><a name="line-147"></a><span class="hs-comment">-- ** OrderId</span><span>
</span><a name="line-148"></a><span class="hs-keyword">newtype</span><span> </span><a name="OrderId"><a href="OpenAPIPetstore.Model.html#OrderId"><span class="hs-identifier">OrderId</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="OrderId"><a href="OpenAPIPetstore.Model.html#OrderId"><span class="hs-identifier">OrderId</span></a></a><span> </span><span class="hs-special">{</span><span> </span><a name="unOrderId"><a href="OpenAPIPetstore.Model.html#unOrderId"><span class="hs-identifier">unOrderId</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier hs-type">Integer</span><span> </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">)</span><span>
</span><a name="line-149"></a><span>
</span><a name="line-150"></a><span class="hs-comment">-- ** OrderIdText</span><span>
</span><a name="line-151"></a><span class="hs-keyword">newtype</span><span> </span><a name="OrderIdText"><a href="OpenAPIPetstore.Model.html#OrderIdText"><span class="hs-identifier">OrderIdText</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="OrderIdText"><a href="OpenAPIPetstore.Model.html#OrderIdText"><span class="hs-identifier">OrderIdText</span></a></a><span> </span><span class="hs-special">{</span><span> </span><a name="unOrderIdText"><a href="OpenAPIPetstore.Model.html#unOrderIdText"><span class="hs-identifier">unOrderIdText</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier hs-type">Text</span><span> </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">)</span><span>
</span><a name="line-152"></a><span>
</span><a name="line-153"></a><span class="hs-comment">-- ** Param</span><span>
</span><a name="line-154"></a><span class="hs-keyword">newtype</span><span> </span><a name="Param"><a href="OpenAPIPetstore.Model.html#Param"><span class="hs-identifier">Param</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="Param"><a href="OpenAPIPetstore.Model.html#Param"><span class="hs-identifier">Param</span></a></a><span> </span><span class="hs-special">{</span><span> </span><a name="unParam"><a href="OpenAPIPetstore.Model.html#unParam"><span class="hs-identifier">unParam</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier hs-type">Text</span><span> </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">)</span><span>
</span><a name="line-155"></a><span>
</span><a name="line-156"></a><span class="hs-comment">-- ** Param2</span><span>
</span><a name="line-157"></a><span class="hs-keyword">newtype</span><span> </span><a name="Param2"><a href="OpenAPIPetstore.Model.html#Param2"><span class="hs-identifier">Param2</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="Param2"><a href="OpenAPIPetstore.Model.html#Param2"><span class="hs-identifier">Param2</span></a></a><span> </span><span class="hs-special">{</span><span> </span><a name="unParam2"><a href="OpenAPIPetstore.Model.html#unParam2"><span class="hs-identifier">unParam2</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier hs-type">Text</span><span> </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">)</span><span>
</span><a name="line-158"></a><span>
</span><a name="line-159"></a><span class="hs-comment">-- ** ParamBinary</span><span>
</span><a name="line-160"></a><span class="hs-keyword">newtype</span><span> </span><a name="ParamBinary"><a href="OpenAPIPetstore.Model.html#ParamBinary"><span class="hs-identifier">ParamBinary</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="ParamBinary"><a href="OpenAPIPetstore.Model.html#ParamBinary"><span class="hs-identifier">ParamBinary</span></a></a><span> </span><span class="hs-special">{</span><span> </span><a name="unParamBinary"><a href="OpenAPIPetstore.Model.html#unParamBinary"><span class="hs-identifier">unParamBinary</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier hs-type">FilePath</span><span> </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">)</span><span>
</span><a name="line-161"></a><span>
</span><a name="line-162"></a><span class="hs-comment">-- ** ParamDate</span><span>
</span><a name="line-163"></a><span class="hs-keyword">newtype</span><span> </span><a name="ParamDate"><a href="OpenAPIPetstore.Model.html#ParamDate"><span class="hs-identifier">ParamDate</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="ParamDate"><a href="OpenAPIPetstore.Model.html#ParamDate"><span class="hs-identifier">ParamDate</span></a></a><span> </span><span class="hs-special">{</span><span> </span><a name="unParamDate"><a href="OpenAPIPetstore.Model.html#unParamDate"><span class="hs-identifier">unParamDate</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><a href="OpenAPIPetstore.Core.html#Date"><span class="hs-identifier hs-type">Date</span></a><span> </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">)</span><span>
</span><a name="line-164"></a><span>
</span><a name="line-165"></a><span class="hs-comment">-- ** ParamDateTime</span><span>
</span><a name="line-166"></a><span class="hs-keyword">newtype</span><span> </span><a name="ParamDateTime"><a href="OpenAPIPetstore.Model.html#ParamDateTime"><span class="hs-identifier">ParamDateTime</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="ParamDateTime"><a href="OpenAPIPetstore.Model.html#ParamDateTime"><span class="hs-identifier">ParamDateTime</span></a></a><span> </span><span class="hs-special">{</span><span> </span><a name="unParamDateTime"><a href="OpenAPIPetstore.Model.html#unParamDateTime"><span class="hs-identifier">unParamDateTime</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><a href="OpenAPIPetstore.Core.html#DateTime"><span class="hs-identifier hs-type">DateTime</span></a><span> </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">)</span><span>
</span><a name="line-167"></a><span>
</span><a name="line-168"></a><span class="hs-comment">-- ** ParamDouble</span><span>
</span><a name="line-169"></a><span class="hs-keyword">newtype</span><span> </span><a name="ParamDouble"><a href="OpenAPIPetstore.Model.html#ParamDouble"><span class="hs-identifier">ParamDouble</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="ParamDouble"><a href="OpenAPIPetstore.Model.html#ParamDouble"><span class="hs-identifier">ParamDouble</span></a></a><span> </span><span class="hs-special">{</span><span> </span><a name="unParamDouble"><a href="OpenAPIPetstore.Model.html#unParamDouble"><span class="hs-identifier">unParamDouble</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier hs-type">Double</span><span> </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">)</span><span>
</span><a name="line-170"></a><span>
</span><a name="line-171"></a><span class="hs-comment">-- ** ParamFloat</span><span>
</span><a name="line-172"></a><span class="hs-keyword">newtype</span><span> </span><a name="ParamFloat"><a href="OpenAPIPetstore.Model.html#ParamFloat"><span class="hs-identifier">ParamFloat</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="ParamFloat"><a href="OpenAPIPetstore.Model.html#ParamFloat"><span class="hs-identifier">ParamFloat</span></a></a><span> </span><span class="hs-special">{</span><span> </span><a name="unParamFloat"><a href="OpenAPIPetstore.Model.html#unParamFloat"><span class="hs-identifier">unParamFloat</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier hs-type">Float</span><span> </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">)</span><span>
</span><a name="line-173"></a><span>
</span><a name="line-174"></a><span class="hs-comment">-- ** ParamInteger</span><span>
</span><a name="line-175"></a><span class="hs-keyword">newtype</span><span> </span><a name="ParamInteger"><a href="OpenAPIPetstore.Model.html#ParamInteger"><span class="hs-identifier">ParamInteger</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="ParamInteger"><a href="OpenAPIPetstore.Model.html#ParamInteger"><span class="hs-identifier">ParamInteger</span></a></a><span> </span><span class="hs-special">{</span><span> </span><a name="unParamInteger"><a href="OpenAPIPetstore.Model.html#unParamInteger"><span class="hs-identifier">unParamInteger</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier hs-type">Int</span><span> </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">)</span><span>
</span><a name="line-176"></a><span>
</span><a name="line-177"></a><span class="hs-comment">-- ** ParamMapMapStringText</span><span>
</span><a name="line-178"></a><span class="hs-keyword">newtype</span><span> </span><a name="ParamMapMapStringText"><a href="OpenAPIPetstore.Model.html#ParamMapMapStringText"><span class="hs-identifier">ParamMapMapStringText</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="ParamMapMapStringText"><a href="OpenAPIPetstore.Model.html#ParamMapMapStringText"><span class="hs-identifier">ParamMapMapStringText</span></a></a><span> </span><span class="hs-special">{</span><span> </span><a name="unParamMapMapStringText"><a href="OpenAPIPetstore.Model.html#unParamMapMapStringText"><span class="hs-identifier">unParamMapMapStringText</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">Map.Map</span><span> </span><span class="hs-identifier hs-type">String</span><span> </span><span class="hs-identifier hs-type">Text</span><span class="hs-special">)</span><span> </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">A.ToJSON</span><span class="hs-special">)</span><span>
</span><a name="line-179"></a><span>
</span><a name="line-180"></a><span class="hs-comment">-- ** ParamString</span><span>
</span><a name="line-181"></a><span class="hs-keyword">newtype</span><span> </span><a name="ParamString"><a href="OpenAPIPetstore.Model.html#ParamString"><span class="hs-identifier">ParamString</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="ParamString"><a href="OpenAPIPetstore.Model.html#ParamString"><span class="hs-identifier">ParamString</span></a></a><span> </span><span class="hs-special">{</span><span> </span><a name="unParamString"><a href="OpenAPIPetstore.Model.html#unParamString"><span class="hs-identifier">unParamString</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier hs-type">Text</span><span> </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">)</span><span>
</span><a name="line-182"></a><span>
</span><a name="line-183"></a><span class="hs-comment">-- ** Password</span><span>
</span><a name="line-184"></a><span class="hs-keyword">newtype</span><span> </span><a name="Password"><a href="OpenAPIPetstore.Model.html#Password"><span class="hs-identifier">Password</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="Password"><a href="OpenAPIPetstore.Model.html#Password"><span class="hs-identifier">Password</span></a></a><span> </span><span class="hs-special">{</span><span> </span><a name="unPassword"><a href="OpenAPIPetstore.Model.html#unPassword"><span class="hs-identifier">unPassword</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier hs-type">Text</span><span> </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">)</span><span>
</span><a name="line-185"></a><span>
</span><a name="line-186"></a><span class="hs-comment">-- ** PatternWithoutDelimiter</span><span>
</span><a name="line-187"></a><span class="hs-keyword">newtype</span><span> </span><a name="PatternWithoutDelimiter"><a href="OpenAPIPetstore.Model.html#PatternWithoutDelimiter"><span class="hs-identifier">PatternWithoutDelimiter</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="PatternWithoutDelimiter"><a href="OpenAPIPetstore.Model.html#PatternWithoutDelimiter"><span class="hs-identifier">PatternWithoutDelimiter</span></a></a><span> </span><span class="hs-special">{</span><span> </span><a name="unPatternWithoutDelimiter"><a href="OpenAPIPetstore.Model.html#unPatternWithoutDelimiter"><span class="hs-identifier">unPatternWithoutDelimiter</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier hs-type">Text</span><span> </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">)</span><span>
</span><a name="line-188"></a><span>
</span><a name="line-189"></a><span class="hs-comment">-- ** PetId</span><span>
</span><a name="line-190"></a><span class="hs-keyword">newtype</span><span> </span><a name="PetId"><a href="OpenAPIPetstore.Model.html#PetId"><span class="hs-identifier">PetId</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="PetId"><a href="OpenAPIPetstore.Model.html#PetId"><span class="hs-identifier">PetId</span></a></a><span> </span><span class="hs-special">{</span><span> </span><a name="unPetId"><a href="OpenAPIPetstore.Model.html#unPetId"><span class="hs-identifier">unPetId</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier hs-type">Integer</span><span> </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">)</span><span>
</span><a name="line-191"></a><span>
</span><a name="line-192"></a><span class="hs-comment">-- ** Pipe</span><span>
</span><a name="line-193"></a><span class="hs-keyword">newtype</span><span> </span><a name="Pipe"><a href="OpenAPIPetstore.Model.html#Pipe"><span class="hs-identifier">Pipe</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="Pipe"><a href="OpenAPIPetstore.Model.html#Pipe"><span class="hs-identifier">Pipe</span></a></a><span> </span><span class="hs-special">{</span><span> </span><a name="unPipe"><a href="OpenAPIPetstore.Model.html#unPipe"><span class="hs-identifier">unPipe</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-special">[</span><span class="hs-identifier hs-type">Text</span><span class="hs-special">]</span><span> </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">)</span><span>
</span><a name="line-194"></a><span>
</span><a name="line-195"></a><span class="hs-comment">-- ** Query</span><span>
</span><a name="line-196"></a><span class="hs-keyword">newtype</span><span> </span><a name="Query"><a href="OpenAPIPetstore.Model.html#Query"><span class="hs-identifier">Query</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="Query"><a href="OpenAPIPetstore.Model.html#Query"><span class="hs-identifier">Query</span></a></a><span> </span><span class="hs-special">{</span><span> </span><a name="unQuery"><a href="OpenAPIPetstore.Model.html#unQuery"><span class="hs-identifier">unQuery</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier hs-type">Text</span><span> </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">)</span><span>
</span><a name="line-197"></a><span>
</span><a name="line-198"></a><span class="hs-comment">-- ** RequiredBooleanGroup</span><span>
</span><a name="line-199"></a><span class="hs-keyword">newtype</span><span> </span><a name="RequiredBooleanGroup"><a href="OpenAPIPetstore.Model.html#RequiredBooleanGroup"><span class="hs-identifier">RequiredBooleanGroup</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="RequiredBooleanGroup"><a href="OpenAPIPetstore.Model.html#RequiredBooleanGroup"><span class="hs-identifier">RequiredBooleanGroup</span></a></a><span> </span><span class="hs-special">{</span><span> </span><a name="unRequiredBooleanGroup"><a href="OpenAPIPetstore.Model.html#unRequiredBooleanGroup"><span class="hs-identifier">unRequiredBooleanGroup</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier hs-type">Bool</span><span> </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">)</span><span>
</span><a name="line-200"></a><span>
</span><a name="line-201"></a><span class="hs-comment">-- ** RequiredFile</span><span>
</span><a name="line-202"></a><span class="hs-keyword">newtype</span><span> </span><a name="RequiredFile"><a href="OpenAPIPetstore.Model.html#RequiredFile"><span class="hs-identifier">RequiredFile</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="RequiredFile"><a href="OpenAPIPetstore.Model.html#RequiredFile"><span class="hs-identifier">RequiredFile</span></a></a><span> </span><span class="hs-special">{</span><span> </span><a name="unRequiredFile"><a href="OpenAPIPetstore.Model.html#unRequiredFile"><span class="hs-identifier">unRequiredFile</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier hs-type">FilePath</span><span> </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">)</span><span>
</span><a name="line-203"></a><span>
</span><a name="line-204"></a><span class="hs-comment">-- ** RequiredInt64Group</span><span>
</span><a name="line-205"></a><span class="hs-keyword">newtype</span><span> </span><a name="RequiredInt64Group"><a href="OpenAPIPetstore.Model.html#RequiredInt64Group"><span class="hs-identifier">RequiredInt64Group</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="RequiredInt64Group"><a href="OpenAPIPetstore.Model.html#RequiredInt64Group"><span class="hs-identifier">RequiredInt64Group</span></a></a><span> </span><span class="hs-special">{</span><span> </span><a name="unRequiredInt64Group"><a href="OpenAPIPetstore.Model.html#unRequiredInt64Group"><span class="hs-identifier">unRequiredInt64Group</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier hs-type">Integer</span><span> </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">)</span><span>
</span><a name="line-206"></a><span>
</span><a name="line-207"></a><span class="hs-comment">-- ** RequiredStringGroup</span><span>
</span><a name="line-208"></a><span class="hs-keyword">newtype</span><span> </span><a name="RequiredStringGroup"><a href="OpenAPIPetstore.Model.html#RequiredStringGroup"><span class="hs-identifier">RequiredStringGroup</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="RequiredStringGroup"><a href="OpenAPIPetstore.Model.html#RequiredStringGroup"><span class="hs-identifier">RequiredStringGroup</span></a></a><span> </span><span class="hs-special">{</span><span> </span><a name="unRequiredStringGroup"><a href="OpenAPIPetstore.Model.html#unRequiredStringGroup"><span class="hs-identifier">unRequiredStringGroup</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier hs-type">Int</span><span> </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">)</span><span>
</span><a name="line-209"></a><span>
</span><a name="line-210"></a><span class="hs-comment">-- ** Status</span><span>
</span><a name="line-211"></a><span class="hs-keyword">newtype</span><span> </span><a name="Status"><a href="OpenAPIPetstore.Model.html#Status"><span class="hs-identifier">Status</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="Status"><a href="OpenAPIPetstore.Model.html#Status"><span class="hs-identifier">Status</span></a></a><span> </span><span class="hs-special">{</span><span> </span><a name="unStatus"><a href="OpenAPIPetstore.Model.html#unStatus"><span class="hs-identifier">unStatus</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-special">[</span><a href="OpenAPIPetstore.Model.html#E%27Status2"><span class="hs-identifier hs-type">E'Status2</span></a><span class="hs-special">]</span><span> </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">)</span><span>
</span><a name="line-212"></a><span>
</span><a name="line-213"></a><span class="hs-comment">-- ** StatusText</span><span>
</span><a name="line-214"></a><span class="hs-keyword">newtype</span><span> </span><a name="StatusText"><a href="OpenAPIPetstore.Model.html#StatusText"><span class="hs-identifier">StatusText</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="StatusText"><a href="OpenAPIPetstore.Model.html#StatusText"><span class="hs-identifier">StatusText</span></a></a><span> </span><span class="hs-special">{</span><span> </span><a name="unStatusText"><a href="OpenAPIPetstore.Model.html#unStatusText"><span class="hs-identifier">unStatusText</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier hs-type">Text</span><span> </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">)</span><span>
</span><a name="line-215"></a><span>
</span><a name="line-216"></a><span class="hs-comment">-- ** StringGroup</span><span>
</span><a name="line-217"></a><span class="hs-keyword">newtype</span><span> </span><a name="StringGroup"><a href="OpenAPIPetstore.Model.html#StringGroup"><span class="hs-identifier">StringGroup</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="StringGroup"><a href="OpenAPIPetstore.Model.html#StringGroup"><span class="hs-identifier">StringGroup</span></a></a><span> </span><span class="hs-special">{</span><span> </span><a name="unStringGroup"><a href="OpenAPIPetstore.Model.html#unStringGroup"><span class="hs-identifier">unStringGroup</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier hs-type">Int</span><span> </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">)</span><span>
</span><a name="line-218"></a><span>
</span><a name="line-219"></a><span class="hs-comment">-- ** Tags</span><span>
</span><a name="line-220"></a><span class="hs-keyword">newtype</span><span> </span><a name="Tags"><a href="OpenAPIPetstore.Model.html#Tags"><span class="hs-identifier">Tags</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="Tags"><a href="OpenAPIPetstore.Model.html#Tags"><span class="hs-identifier">Tags</span></a></a><span> </span><span class="hs-special">{</span><span> </span><a name="unTags"><a href="OpenAPIPetstore.Model.html#unTags"><span class="hs-identifier">unTags</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-special">[</span><span class="hs-identifier hs-type">Text</span><span class="hs-special">]</span><span> </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">)</span><span>
</span><a name="line-221"></a><span>
</span><a name="line-222"></a><span class="hs-comment">-- ** Url</span><span>
</span><a name="line-223"></a><span class="hs-keyword">newtype</span><span> </span><a name="Url"><a href="OpenAPIPetstore.Model.html#Url"><span class="hs-identifier">Url</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="Url"><a href="OpenAPIPetstore.Model.html#Url"><span class="hs-identifier">Url</span></a></a><span> </span><span class="hs-special">{</span><span> </span><a name="unUrl"><a href="OpenAPIPetstore.Model.html#unUrl"><span class="hs-identifier">unUrl</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-special">[</span><span class="hs-identifier hs-type">Text</span><span class="hs-special">]</span><span> </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">)</span><span>
</span><a name="line-224"></a><span>
</span><a name="line-225"></a><span class="hs-comment">-- ** Username</span><span>
</span><a name="line-226"></a><span class="hs-keyword">newtype</span><span> </span><a name="Username"><a href="OpenAPIPetstore.Model.html#Username"><span class="hs-identifier">Username</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="Username"><a href="OpenAPIPetstore.Model.html#Username"><span class="hs-identifier">Username</span></a></a><span> </span><span class="hs-special">{</span><span> </span><a name="unUsername"><a href="OpenAPIPetstore.Model.html#unUsername"><span class="hs-identifier">unUsername</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier hs-type">Text</span><span> </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">)</span><span>
</span><a name="line-227"></a><span>
</span><a name="line-228"></a><span class="hs-comment">-- * Models</span><span>
</span><a name="line-229"></a><span>
</span><a name="line-230"></a><span>
</span><a name="line-231"></a><span class="hs-comment">-- ** AdditionalPropertiesAnyType</span><span>
</span><a name="line-232"></a><span class="hs-comment">-- | AdditionalPropertiesAnyType</span><span>
</span><a name="line-233"></a><span class="hs-keyword">data</span><span> </span><a name="AdditionalPropertiesAnyType"><a href="OpenAPIPetstore.Model.html#AdditionalPropertiesAnyType"><span class="hs-identifier">AdditionalPropertiesAnyType</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="AdditionalPropertiesAnyType"><a href="OpenAPIPetstore.Model.html#AdditionalPropertiesAnyType"><span class="hs-identifier">AdditionalPropertiesAnyType</span></a></a><span>
</span><a name="line-234"></a><span>  </span><span class="hs-special">{</span><span> </span><a name="additionalPropertiesAnyTypeName"><a href="OpenAPIPetstore.Model.html#additionalPropertiesAnyTypeName"><span class="hs-identifier">additionalPropertiesAnyTypeName</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Text</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;name&quot;</span><span>
</span><a name="line-235"></a><span>  </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Typeable</span><span class="hs-special">)</span><span>
</span><a name="line-236"></a><span>
</span><a name="line-237"></a><span class="hs-comment">-- | FromJSON AdditionalPropertiesAnyType</span><span>
</span><a name="line-238"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.FromJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#AdditionalPropertiesAnyType"><span class="hs-identifier hs-type">AdditionalPropertiesAnyType</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-239"></a><span>  </span><a name="local-8214565720323822289"><span class="hs-identifier">parseJSON</span></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">A.withObject</span><span> </span><span class="hs-string">&quot;AdditionalPropertiesAnyType&quot;</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-glyph">\</span><a name="local-6989586621679141629"><a href="#local-6989586621679141629"><span class="hs-identifier">o</span></a></a><span> </span><span class="hs-glyph">-&gt;</span><span>
</span><a name="line-240"></a><span>    </span><a href="OpenAPIPetstore.Model.html#AdditionalPropertiesAnyType"><span class="hs-identifier hs-var">AdditionalPropertiesAnyType</span></a><span>
</span><a name="line-241"></a><span>      </span><span class="hs-operator hs-var">&lt;$&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141629"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;name&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-242"></a><span>
</span><a name="line-243"></a><span class="hs-comment">-- | ToJSON AdditionalPropertiesAnyType</span><span>
</span><a name="line-244"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.ToJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#AdditionalPropertiesAnyType"><span class="hs-identifier hs-type">AdditionalPropertiesAnyType</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-245"></a><span>  </span><a name="local-8214565720323804008"><span class="hs-identifier">toJSON</span></a><span> </span><a href="OpenAPIPetstore.Model.html#AdditionalPropertiesAnyType"><span class="hs-identifier hs-var">AdditionalPropertiesAnyType</span></a><span> </span><span class="hs-special">{</span><span class="hs-glyph">..</span><span class="hs-special">}</span><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-246"></a><span>   </span><a href="OpenAPIPetstore.Core.html#_omitNulls"><span class="hs-identifier hs-var">_omitNulls</span></a><span>
</span><a name="line-247"></a><span>      </span><span class="hs-special">[</span><span> </span><span class="hs-string">&quot;name&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141628"><span class="hs-identifier hs-var">additionalPropertiesAnyTypeName</span></a><span>
</span><a name="line-248"></a><span>      </span><span class="hs-special">]</span><span>
</span><a name="line-249"></a><span>
</span><a name="line-250"></a><span>
</span><a name="line-251"></a><span class="hs-comment">-- | Construct a value of type 'AdditionalPropertiesAnyType' (by applying it's required fields, if any)</span><span>
</span><a name="line-252"></a><span class="hs-identifier">mkAdditionalPropertiesAnyType</span><span>
</span><a name="line-253"></a><span>  </span><span class="hs-glyph">::</span><span> </span><a href="OpenAPIPetstore.Model.html#AdditionalPropertiesAnyType"><span class="hs-identifier hs-type">AdditionalPropertiesAnyType</span></a><span>
</span><a name="line-254"></a><a name="mkAdditionalPropertiesAnyType"><a href="OpenAPIPetstore.Model.html#mkAdditionalPropertiesAnyType"><span class="hs-identifier">mkAdditionalPropertiesAnyType</span></a></a><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-255"></a><span>  </span><a href="OpenAPIPetstore.Model.html#AdditionalPropertiesAnyType"><span class="hs-identifier hs-var">AdditionalPropertiesAnyType</span></a><span>
</span><a name="line-256"></a><span>  </span><span class="hs-special">{</span><span> </span><span class="hs-identifier">additionalPropertiesAnyTypeName</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-257"></a><span>  </span><span class="hs-special">}</span><span>
</span><a name="line-258"></a><span>
</span><a name="line-259"></a><span class="hs-comment">-- ** AdditionalPropertiesArray</span><span>
</span><a name="line-260"></a><span class="hs-comment">-- | AdditionalPropertiesArray</span><span>
</span><a name="line-261"></a><span class="hs-keyword">data</span><span> </span><a name="AdditionalPropertiesArray"><a href="OpenAPIPetstore.Model.html#AdditionalPropertiesArray"><span class="hs-identifier">AdditionalPropertiesArray</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="AdditionalPropertiesArray"><a href="OpenAPIPetstore.Model.html#AdditionalPropertiesArray"><span class="hs-identifier">AdditionalPropertiesArray</span></a></a><span>
</span><a name="line-262"></a><span>  </span><span class="hs-special">{</span><span> </span><a name="additionalPropertiesArrayName"><a href="OpenAPIPetstore.Model.html#additionalPropertiesArrayName"><span class="hs-identifier">additionalPropertiesArrayName</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Text</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;name&quot;</span><span>
</span><a name="line-263"></a><span>  </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Typeable</span><span class="hs-special">)</span><span>
</span><a name="line-264"></a><span>
</span><a name="line-265"></a><span class="hs-comment">-- | FromJSON AdditionalPropertiesArray</span><span>
</span><a name="line-266"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.FromJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#AdditionalPropertiesArray"><span class="hs-identifier hs-type">AdditionalPropertiesArray</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-267"></a><span>  </span><a name="local-8214565720323822289"><span class="hs-identifier">parseJSON</span></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">A.withObject</span><span> </span><span class="hs-string">&quot;AdditionalPropertiesArray&quot;</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-glyph">\</span><a name="local-6989586621679141627"><a href="#local-6989586621679141627"><span class="hs-identifier">o</span></a></a><span> </span><span class="hs-glyph">-&gt;</span><span>
</span><a name="line-268"></a><span>    </span><a href="OpenAPIPetstore.Model.html#AdditionalPropertiesArray"><span class="hs-identifier hs-var">AdditionalPropertiesArray</span></a><span>
</span><a name="line-269"></a><span>      </span><span class="hs-operator hs-var">&lt;$&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141627"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;name&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-270"></a><span>
</span><a name="line-271"></a><span class="hs-comment">-- | ToJSON AdditionalPropertiesArray</span><span>
</span><a name="line-272"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.ToJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#AdditionalPropertiesArray"><span class="hs-identifier hs-type">AdditionalPropertiesArray</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-273"></a><span>  </span><a name="local-8214565720323804008"><span class="hs-identifier">toJSON</span></a><span> </span><a href="OpenAPIPetstore.Model.html#AdditionalPropertiesArray"><span class="hs-identifier hs-var">AdditionalPropertiesArray</span></a><span> </span><span class="hs-special">{</span><span class="hs-glyph">..</span><span class="hs-special">}</span><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-274"></a><span>   </span><a href="OpenAPIPetstore.Core.html#_omitNulls"><span class="hs-identifier hs-var">_omitNulls</span></a><span>
</span><a name="line-275"></a><span>      </span><span class="hs-special">[</span><span> </span><span class="hs-string">&quot;name&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141626"><span class="hs-identifier hs-var">additionalPropertiesArrayName</span></a><span>
</span><a name="line-276"></a><span>      </span><span class="hs-special">]</span><span>
</span><a name="line-277"></a><span>
</span><a name="line-278"></a><span>
</span><a name="line-279"></a><span class="hs-comment">-- | Construct a value of type 'AdditionalPropertiesArray' (by applying it's required fields, if any)</span><span>
</span><a name="line-280"></a><span class="hs-identifier">mkAdditionalPropertiesArray</span><span>
</span><a name="line-281"></a><span>  </span><span class="hs-glyph">::</span><span> </span><a href="OpenAPIPetstore.Model.html#AdditionalPropertiesArray"><span class="hs-identifier hs-type">AdditionalPropertiesArray</span></a><span>
</span><a name="line-282"></a><a name="mkAdditionalPropertiesArray"><a href="OpenAPIPetstore.Model.html#mkAdditionalPropertiesArray"><span class="hs-identifier">mkAdditionalPropertiesArray</span></a></a><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-283"></a><span>  </span><a href="OpenAPIPetstore.Model.html#AdditionalPropertiesArray"><span class="hs-identifier hs-var">AdditionalPropertiesArray</span></a><span>
</span><a name="line-284"></a><span>  </span><span class="hs-special">{</span><span> </span><span class="hs-identifier">additionalPropertiesArrayName</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-285"></a><span>  </span><span class="hs-special">}</span><span>
</span><a name="line-286"></a><span>
</span><a name="line-287"></a><span class="hs-comment">-- ** AdditionalPropertiesBoolean</span><span>
</span><a name="line-288"></a><span class="hs-comment">-- | AdditionalPropertiesBoolean</span><span>
</span><a name="line-289"></a><span class="hs-keyword">data</span><span> </span><a name="AdditionalPropertiesBoolean"><a href="OpenAPIPetstore.Model.html#AdditionalPropertiesBoolean"><span class="hs-identifier">AdditionalPropertiesBoolean</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="AdditionalPropertiesBoolean"><a href="OpenAPIPetstore.Model.html#AdditionalPropertiesBoolean"><span class="hs-identifier">AdditionalPropertiesBoolean</span></a></a><span>
</span><a name="line-290"></a><span>  </span><span class="hs-special">{</span><span> </span><a name="additionalPropertiesBooleanName"><a href="OpenAPIPetstore.Model.html#additionalPropertiesBooleanName"><span class="hs-identifier">additionalPropertiesBooleanName</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Text</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;name&quot;</span><span>
</span><a name="line-291"></a><span>  </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Typeable</span><span class="hs-special">)</span><span>
</span><a name="line-292"></a><span>
</span><a name="line-293"></a><span class="hs-comment">-- | FromJSON AdditionalPropertiesBoolean</span><span>
</span><a name="line-294"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.FromJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#AdditionalPropertiesBoolean"><span class="hs-identifier hs-type">AdditionalPropertiesBoolean</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-295"></a><span>  </span><a name="local-8214565720323822289"><span class="hs-identifier">parseJSON</span></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">A.withObject</span><span> </span><span class="hs-string">&quot;AdditionalPropertiesBoolean&quot;</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-glyph">\</span><a name="local-6989586621679141625"><a href="#local-6989586621679141625"><span class="hs-identifier">o</span></a></a><span> </span><span class="hs-glyph">-&gt;</span><span>
</span><a name="line-296"></a><span>    </span><a href="OpenAPIPetstore.Model.html#AdditionalPropertiesBoolean"><span class="hs-identifier hs-var">AdditionalPropertiesBoolean</span></a><span>
</span><a name="line-297"></a><span>      </span><span class="hs-operator hs-var">&lt;$&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141625"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;name&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-298"></a><span>
</span><a name="line-299"></a><span class="hs-comment">-- | ToJSON AdditionalPropertiesBoolean</span><span>
</span><a name="line-300"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.ToJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#AdditionalPropertiesBoolean"><span class="hs-identifier hs-type">AdditionalPropertiesBoolean</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-301"></a><span>  </span><a name="local-8214565720323804008"><span class="hs-identifier">toJSON</span></a><span> </span><a href="OpenAPIPetstore.Model.html#AdditionalPropertiesBoolean"><span class="hs-identifier hs-var">AdditionalPropertiesBoolean</span></a><span> </span><span class="hs-special">{</span><span class="hs-glyph">..</span><span class="hs-special">}</span><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-302"></a><span>   </span><a href="OpenAPIPetstore.Core.html#_omitNulls"><span class="hs-identifier hs-var">_omitNulls</span></a><span>
</span><a name="line-303"></a><span>      </span><span class="hs-special">[</span><span> </span><span class="hs-string">&quot;name&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141624"><span class="hs-identifier hs-var">additionalPropertiesBooleanName</span></a><span>
</span><a name="line-304"></a><span>      </span><span class="hs-special">]</span><span>
</span><a name="line-305"></a><span>
</span><a name="line-306"></a><span>
</span><a name="line-307"></a><span class="hs-comment">-- | Construct a value of type 'AdditionalPropertiesBoolean' (by applying it's required fields, if any)</span><span>
</span><a name="line-308"></a><span class="hs-identifier">mkAdditionalPropertiesBoolean</span><span>
</span><a name="line-309"></a><span>  </span><span class="hs-glyph">::</span><span> </span><a href="OpenAPIPetstore.Model.html#AdditionalPropertiesBoolean"><span class="hs-identifier hs-type">AdditionalPropertiesBoolean</span></a><span>
</span><a name="line-310"></a><a name="mkAdditionalPropertiesBoolean"><a href="OpenAPIPetstore.Model.html#mkAdditionalPropertiesBoolean"><span class="hs-identifier">mkAdditionalPropertiesBoolean</span></a></a><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-311"></a><span>  </span><a href="OpenAPIPetstore.Model.html#AdditionalPropertiesBoolean"><span class="hs-identifier hs-var">AdditionalPropertiesBoolean</span></a><span>
</span><a name="line-312"></a><span>  </span><span class="hs-special">{</span><span> </span><span class="hs-identifier">additionalPropertiesBooleanName</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-313"></a><span>  </span><span class="hs-special">}</span><span>
</span><a name="line-314"></a><span>
</span><a name="line-315"></a><span class="hs-comment">-- ** AdditionalPropertiesClass</span><span>
</span><a name="line-316"></a><span class="hs-comment">-- | AdditionalPropertiesClass</span><span>
</span><a name="line-317"></a><span class="hs-keyword">data</span><span> </span><a name="AdditionalPropertiesClass"><a href="OpenAPIPetstore.Model.html#AdditionalPropertiesClass"><span class="hs-identifier">AdditionalPropertiesClass</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="AdditionalPropertiesClass"><a href="OpenAPIPetstore.Model.html#AdditionalPropertiesClass"><span class="hs-identifier">AdditionalPropertiesClass</span></a></a><span>
</span><a name="line-318"></a><span>  </span><span class="hs-special">{</span><span> </span><a name="additionalPropertiesClassMapString"><a href="OpenAPIPetstore.Model.html#additionalPropertiesClassMapString"><span class="hs-identifier">additionalPropertiesClassMapString</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">Map.Map</span><span> </span><span class="hs-identifier hs-type">String</span><span> </span><span class="hs-identifier hs-type">Text</span><span class="hs-special">)</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;map_string&quot;</span><span>
</span><a name="line-319"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="additionalPropertiesClassMapNumber"><a href="OpenAPIPetstore.Model.html#additionalPropertiesClassMapNumber"><span class="hs-identifier">additionalPropertiesClassMapNumber</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">Map.Map</span><span> </span><span class="hs-identifier hs-type">String</span><span> </span><span class="hs-identifier hs-type">Double</span><span class="hs-special">)</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;map_number&quot;</span><span>
</span><a name="line-320"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="additionalPropertiesClassMapInteger"><a href="OpenAPIPetstore.Model.html#additionalPropertiesClassMapInteger"><span class="hs-identifier">additionalPropertiesClassMapInteger</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">Map.Map</span><span> </span><span class="hs-identifier hs-type">String</span><span> </span><span class="hs-identifier hs-type">Int</span><span class="hs-special">)</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;map_integer&quot;</span><span>
</span><a name="line-321"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="additionalPropertiesClassMapBoolean"><a href="OpenAPIPetstore.Model.html#additionalPropertiesClassMapBoolean"><span class="hs-identifier">additionalPropertiesClassMapBoolean</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">Map.Map</span><span> </span><span class="hs-identifier hs-type">String</span><span> </span><span class="hs-identifier hs-type">Bool</span><span class="hs-special">)</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;map_boolean&quot;</span><span>
</span><a name="line-322"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="additionalPropertiesClassMapArrayInteger"><a href="OpenAPIPetstore.Model.html#additionalPropertiesClassMapArrayInteger"><span class="hs-identifier">additionalPropertiesClassMapArrayInteger</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">Map.Map</span><span> </span><span class="hs-identifier hs-type">String</span><span> </span><span class="hs-special">[</span><span class="hs-identifier hs-type">Int</span><span class="hs-special">]</span><span class="hs-special">)</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;map_array_integer&quot;</span><span>
</span><a name="line-323"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="additionalPropertiesClassMapArrayAnytype"><a href="OpenAPIPetstore.Model.html#additionalPropertiesClassMapArrayAnytype"><span class="hs-identifier">additionalPropertiesClassMapArrayAnytype</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">Map.Map</span><span> </span><span class="hs-identifier hs-type">String</span><span> </span><span class="hs-special">[</span><span class="hs-identifier hs-type">A.Value</span><span class="hs-special">]</span><span class="hs-special">)</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;map_array_anytype&quot;</span><span>
</span><a name="line-324"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="additionalPropertiesClassMapMapString"><a href="OpenAPIPetstore.Model.html#additionalPropertiesClassMapMapString"><span class="hs-identifier">additionalPropertiesClassMapMapString</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">Map.Map</span><span> </span><span class="hs-identifier hs-type">String</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">Map.Map</span><span> </span><span class="hs-identifier hs-type">String</span><span> </span><span class="hs-identifier hs-type">Text</span><span class="hs-special">)</span><span class="hs-special">)</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;map_map_string&quot;</span><span>
</span><a name="line-325"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="additionalPropertiesClassMapMapAnytype"><a href="OpenAPIPetstore.Model.html#additionalPropertiesClassMapMapAnytype"><span class="hs-identifier">additionalPropertiesClassMapMapAnytype</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">Map.Map</span><span> </span><span class="hs-identifier hs-type">String</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">Map.Map</span><span> </span><span class="hs-identifier hs-type">String</span><span> </span><span class="hs-identifier hs-type">A.Value</span><span class="hs-special">)</span><span class="hs-special">)</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;map_map_anytype&quot;</span><span>
</span><a name="line-326"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="additionalPropertiesClassAnytype1"><a href="OpenAPIPetstore.Model.html#additionalPropertiesClassAnytype1"><span class="hs-identifier">additionalPropertiesClassAnytype1</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">A.Value</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;anytype_1&quot;</span><span>
</span><a name="line-327"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="additionalPropertiesClassAnytype2"><a href="OpenAPIPetstore.Model.html#additionalPropertiesClassAnytype2"><span class="hs-identifier">additionalPropertiesClassAnytype2</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">A.Value</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;anytype_2&quot;</span><span>
</span><a name="line-328"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="additionalPropertiesClassAnytype3"><a href="OpenAPIPetstore.Model.html#additionalPropertiesClassAnytype3"><span class="hs-identifier">additionalPropertiesClassAnytype3</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">A.Value</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;anytype_3&quot;</span><span>
</span><a name="line-329"></a><span>  </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Typeable</span><span class="hs-special">)</span><span>
</span><a name="line-330"></a><span>
</span><a name="line-331"></a><span class="hs-comment">-- | FromJSON AdditionalPropertiesClass</span><span>
</span><a name="line-332"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.FromJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#AdditionalPropertiesClass"><span class="hs-identifier hs-type">AdditionalPropertiesClass</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-333"></a><span>  </span><a name="local-8214565720323822289"><span class="hs-identifier">parseJSON</span></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">A.withObject</span><span> </span><span class="hs-string">&quot;AdditionalPropertiesClass&quot;</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-glyph">\</span><a name="local-6989586621679141623"><a href="#local-6989586621679141623"><span class="hs-identifier">o</span></a></a><span> </span><span class="hs-glyph">-&gt;</span><span>
</span><a name="line-334"></a><span>    </span><a href="OpenAPIPetstore.Model.html#AdditionalPropertiesClass"><span class="hs-identifier hs-var">AdditionalPropertiesClass</span></a><span>
</span><a name="line-335"></a><span>      </span><span class="hs-operator hs-var">&lt;$&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141623"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;map_string&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-336"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141623"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;map_number&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-337"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141623"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;map_integer&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-338"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141623"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;map_boolean&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-339"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141623"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;map_array_integer&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-340"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141623"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;map_array_anytype&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-341"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141623"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;map_map_string&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-342"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141623"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;map_map_anytype&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-343"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141623"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;anytype_1&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-344"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141623"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;anytype_2&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-345"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141623"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;anytype_3&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-346"></a><span>
</span><a name="line-347"></a><span class="hs-comment">-- | ToJSON AdditionalPropertiesClass</span><span>
</span><a name="line-348"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.ToJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#AdditionalPropertiesClass"><span class="hs-identifier hs-type">AdditionalPropertiesClass</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-349"></a><span>  </span><a name="local-8214565720323804008"><span class="hs-identifier">toJSON</span></a><span> </span><a href="OpenAPIPetstore.Model.html#AdditionalPropertiesClass"><span class="hs-identifier hs-var">AdditionalPropertiesClass</span></a><span> </span><span class="hs-special">{</span><span class="hs-glyph">..</span><span class="hs-special">}</span><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-350"></a><span>   </span><a href="OpenAPIPetstore.Core.html#_omitNulls"><span class="hs-identifier hs-var">_omitNulls</span></a><span>
</span><a name="line-351"></a><span>      </span><span class="hs-special">[</span><span> </span><span class="hs-string">&quot;map_string&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141612"><span class="hs-identifier hs-var">additionalPropertiesClassMapString</span></a><span>
</span><a name="line-352"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;map_number&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141613"><span class="hs-identifier hs-var">additionalPropertiesClassMapNumber</span></a><span>
</span><a name="line-353"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;map_integer&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141614"><span class="hs-identifier hs-var">additionalPropertiesClassMapInteger</span></a><span>
</span><a name="line-354"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;map_boolean&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141615"><span class="hs-identifier hs-var">additionalPropertiesClassMapBoolean</span></a><span>
</span><a name="line-355"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;map_array_integer&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141616"><span class="hs-identifier hs-var">additionalPropertiesClassMapArrayInteger</span></a><span>
</span><a name="line-356"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;map_array_anytype&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141617"><span class="hs-identifier hs-var">additionalPropertiesClassMapArrayAnytype</span></a><span>
</span><a name="line-357"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;map_map_string&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141618"><span class="hs-identifier hs-var">additionalPropertiesClassMapMapString</span></a><span>
</span><a name="line-358"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;map_map_anytype&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141619"><span class="hs-identifier hs-var">additionalPropertiesClassMapMapAnytype</span></a><span>
</span><a name="line-359"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;anytype_1&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141620"><span class="hs-identifier hs-var">additionalPropertiesClassAnytype1</span></a><span>
</span><a name="line-360"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;anytype_2&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141621"><span class="hs-identifier hs-var">additionalPropertiesClassAnytype2</span></a><span>
</span><a name="line-361"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;anytype_3&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141622"><span class="hs-identifier hs-var">additionalPropertiesClassAnytype3</span></a><span>
</span><a name="line-362"></a><span>      </span><span class="hs-special">]</span><span>
</span><a name="line-363"></a><span>
</span><a name="line-364"></a><span>
</span><a name="line-365"></a><span class="hs-comment">-- | Construct a value of type 'AdditionalPropertiesClass' (by applying it's required fields, if any)</span><span>
</span><a name="line-366"></a><span class="hs-identifier">mkAdditionalPropertiesClass</span><span>
</span><a name="line-367"></a><span>  </span><span class="hs-glyph">::</span><span> </span><a href="OpenAPIPetstore.Model.html#AdditionalPropertiesClass"><span class="hs-identifier hs-type">AdditionalPropertiesClass</span></a><span>
</span><a name="line-368"></a><a name="mkAdditionalPropertiesClass"><a href="OpenAPIPetstore.Model.html#mkAdditionalPropertiesClass"><span class="hs-identifier">mkAdditionalPropertiesClass</span></a></a><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-369"></a><span>  </span><a href="OpenAPIPetstore.Model.html#AdditionalPropertiesClass"><span class="hs-identifier hs-var">AdditionalPropertiesClass</span></a><span>
</span><a name="line-370"></a><span>  </span><span class="hs-special">{</span><span> </span><span class="hs-identifier">additionalPropertiesClassMapString</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-371"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">additionalPropertiesClassMapNumber</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-372"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">additionalPropertiesClassMapInteger</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-373"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">additionalPropertiesClassMapBoolean</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-374"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">additionalPropertiesClassMapArrayInteger</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-375"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">additionalPropertiesClassMapArrayAnytype</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-376"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">additionalPropertiesClassMapMapString</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-377"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">additionalPropertiesClassMapMapAnytype</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-378"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">additionalPropertiesClassAnytype1</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-379"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">additionalPropertiesClassAnytype2</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-380"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">additionalPropertiesClassAnytype3</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-381"></a><span>  </span><span class="hs-special">}</span><span>
</span><a name="line-382"></a><span>
</span><a name="line-383"></a><span class="hs-comment">-- ** AdditionalPropertiesInteger</span><span>
</span><a name="line-384"></a><span class="hs-comment">-- | AdditionalPropertiesInteger</span><span>
</span><a name="line-385"></a><span class="hs-keyword">data</span><span> </span><a name="AdditionalPropertiesInteger"><a href="OpenAPIPetstore.Model.html#AdditionalPropertiesInteger"><span class="hs-identifier">AdditionalPropertiesInteger</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="AdditionalPropertiesInteger"><a href="OpenAPIPetstore.Model.html#AdditionalPropertiesInteger"><span class="hs-identifier">AdditionalPropertiesInteger</span></a></a><span>
</span><a name="line-386"></a><span>  </span><span class="hs-special">{</span><span> </span><a name="additionalPropertiesIntegerName"><a href="OpenAPIPetstore.Model.html#additionalPropertiesIntegerName"><span class="hs-identifier">additionalPropertiesIntegerName</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Text</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;name&quot;</span><span>
</span><a name="line-387"></a><span>  </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Typeable</span><span class="hs-special">)</span><span>
</span><a name="line-388"></a><span>
</span><a name="line-389"></a><span class="hs-comment">-- | FromJSON AdditionalPropertiesInteger</span><span>
</span><a name="line-390"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.FromJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#AdditionalPropertiesInteger"><span class="hs-identifier hs-type">AdditionalPropertiesInteger</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-391"></a><span>  </span><a name="local-8214565720323822289"><span class="hs-identifier">parseJSON</span></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">A.withObject</span><span> </span><span class="hs-string">&quot;AdditionalPropertiesInteger&quot;</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-glyph">\</span><a name="local-6989586621679141611"><a href="#local-6989586621679141611"><span class="hs-identifier">o</span></a></a><span> </span><span class="hs-glyph">-&gt;</span><span>
</span><a name="line-392"></a><span>    </span><a href="OpenAPIPetstore.Model.html#AdditionalPropertiesInteger"><span class="hs-identifier hs-var">AdditionalPropertiesInteger</span></a><span>
</span><a name="line-393"></a><span>      </span><span class="hs-operator hs-var">&lt;$&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141611"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;name&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-394"></a><span>
</span><a name="line-395"></a><span class="hs-comment">-- | ToJSON AdditionalPropertiesInteger</span><span>
</span><a name="line-396"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.ToJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#AdditionalPropertiesInteger"><span class="hs-identifier hs-type">AdditionalPropertiesInteger</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-397"></a><span>  </span><a name="local-8214565720323804008"><span class="hs-identifier">toJSON</span></a><span> </span><a href="OpenAPIPetstore.Model.html#AdditionalPropertiesInteger"><span class="hs-identifier hs-var">AdditionalPropertiesInteger</span></a><span> </span><span class="hs-special">{</span><span class="hs-glyph">..</span><span class="hs-special">}</span><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-398"></a><span>   </span><a href="OpenAPIPetstore.Core.html#_omitNulls"><span class="hs-identifier hs-var">_omitNulls</span></a><span>
</span><a name="line-399"></a><span>      </span><span class="hs-special">[</span><span> </span><span class="hs-string">&quot;name&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141610"><span class="hs-identifier hs-var">additionalPropertiesIntegerName</span></a><span>
</span><a name="line-400"></a><span>      </span><span class="hs-special">]</span><span>
</span><a name="line-401"></a><span>
</span><a name="line-402"></a><span>
</span><a name="line-403"></a><span class="hs-comment">-- | Construct a value of type 'AdditionalPropertiesInteger' (by applying it's required fields, if any)</span><span>
</span><a name="line-404"></a><span class="hs-identifier">mkAdditionalPropertiesInteger</span><span>
</span><a name="line-405"></a><span>  </span><span class="hs-glyph">::</span><span> </span><a href="OpenAPIPetstore.Model.html#AdditionalPropertiesInteger"><span class="hs-identifier hs-type">AdditionalPropertiesInteger</span></a><span>
</span><a name="line-406"></a><a name="mkAdditionalPropertiesInteger"><a href="OpenAPIPetstore.Model.html#mkAdditionalPropertiesInteger"><span class="hs-identifier">mkAdditionalPropertiesInteger</span></a></a><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-407"></a><span>  </span><a href="OpenAPIPetstore.Model.html#AdditionalPropertiesInteger"><span class="hs-identifier hs-var">AdditionalPropertiesInteger</span></a><span>
</span><a name="line-408"></a><span>  </span><span class="hs-special">{</span><span> </span><span class="hs-identifier">additionalPropertiesIntegerName</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-409"></a><span>  </span><span class="hs-special">}</span><span>
</span><a name="line-410"></a><span>
</span><a name="line-411"></a><span class="hs-comment">-- ** AdditionalPropertiesNumber</span><span>
</span><a name="line-412"></a><span class="hs-comment">-- | AdditionalPropertiesNumber</span><span>
</span><a name="line-413"></a><span class="hs-keyword">data</span><span> </span><a name="AdditionalPropertiesNumber"><a href="OpenAPIPetstore.Model.html#AdditionalPropertiesNumber"><span class="hs-identifier">AdditionalPropertiesNumber</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="AdditionalPropertiesNumber"><a href="OpenAPIPetstore.Model.html#AdditionalPropertiesNumber"><span class="hs-identifier">AdditionalPropertiesNumber</span></a></a><span>
</span><a name="line-414"></a><span>  </span><span class="hs-special">{</span><span> </span><a name="additionalPropertiesNumberName"><a href="OpenAPIPetstore.Model.html#additionalPropertiesNumberName"><span class="hs-identifier">additionalPropertiesNumberName</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Text</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;name&quot;</span><span>
</span><a name="line-415"></a><span>  </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Typeable</span><span class="hs-special">)</span><span>
</span><a name="line-416"></a><span>
</span><a name="line-417"></a><span class="hs-comment">-- | FromJSON AdditionalPropertiesNumber</span><span>
</span><a name="line-418"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.FromJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#AdditionalPropertiesNumber"><span class="hs-identifier hs-type">AdditionalPropertiesNumber</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-419"></a><span>  </span><a name="local-8214565720323822289"><span class="hs-identifier">parseJSON</span></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">A.withObject</span><span> </span><span class="hs-string">&quot;AdditionalPropertiesNumber&quot;</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-glyph">\</span><a name="local-6989586621679141609"><a href="#local-6989586621679141609"><span class="hs-identifier">o</span></a></a><span> </span><span class="hs-glyph">-&gt;</span><span>
</span><a name="line-420"></a><span>    </span><a href="OpenAPIPetstore.Model.html#AdditionalPropertiesNumber"><span class="hs-identifier hs-var">AdditionalPropertiesNumber</span></a><span>
</span><a name="line-421"></a><span>      </span><span class="hs-operator hs-var">&lt;$&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141609"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;name&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-422"></a><span>
</span><a name="line-423"></a><span class="hs-comment">-- | ToJSON AdditionalPropertiesNumber</span><span>
</span><a name="line-424"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.ToJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#AdditionalPropertiesNumber"><span class="hs-identifier hs-type">AdditionalPropertiesNumber</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-425"></a><span>  </span><a name="local-8214565720323804008"><span class="hs-identifier">toJSON</span></a><span> </span><a href="OpenAPIPetstore.Model.html#AdditionalPropertiesNumber"><span class="hs-identifier hs-var">AdditionalPropertiesNumber</span></a><span> </span><span class="hs-special">{</span><span class="hs-glyph">..</span><span class="hs-special">}</span><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-426"></a><span>   </span><a href="OpenAPIPetstore.Core.html#_omitNulls"><span class="hs-identifier hs-var">_omitNulls</span></a><span>
</span><a name="line-427"></a><span>      </span><span class="hs-special">[</span><span> </span><span class="hs-string">&quot;name&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141608"><span class="hs-identifier hs-var">additionalPropertiesNumberName</span></a><span>
</span><a name="line-428"></a><span>      </span><span class="hs-special">]</span><span>
</span><a name="line-429"></a><span>
</span><a name="line-430"></a><span>
</span><a name="line-431"></a><span class="hs-comment">-- | Construct a value of type 'AdditionalPropertiesNumber' (by applying it's required fields, if any)</span><span>
</span><a name="line-432"></a><span class="hs-identifier">mkAdditionalPropertiesNumber</span><span>
</span><a name="line-433"></a><span>  </span><span class="hs-glyph">::</span><span> </span><a href="OpenAPIPetstore.Model.html#AdditionalPropertiesNumber"><span class="hs-identifier hs-type">AdditionalPropertiesNumber</span></a><span>
</span><a name="line-434"></a><a name="mkAdditionalPropertiesNumber"><a href="OpenAPIPetstore.Model.html#mkAdditionalPropertiesNumber"><span class="hs-identifier">mkAdditionalPropertiesNumber</span></a></a><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-435"></a><span>  </span><a href="OpenAPIPetstore.Model.html#AdditionalPropertiesNumber"><span class="hs-identifier hs-var">AdditionalPropertiesNumber</span></a><span>
</span><a name="line-436"></a><span>  </span><span class="hs-special">{</span><span> </span><span class="hs-identifier">additionalPropertiesNumberName</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-437"></a><span>  </span><span class="hs-special">}</span><span>
</span><a name="line-438"></a><span>
</span><a name="line-439"></a><span class="hs-comment">-- ** AdditionalPropertiesObject</span><span>
</span><a name="line-440"></a><span class="hs-comment">-- | AdditionalPropertiesObject</span><span>
</span><a name="line-441"></a><span class="hs-keyword">data</span><span> </span><a name="AdditionalPropertiesObject"><a href="OpenAPIPetstore.Model.html#AdditionalPropertiesObject"><span class="hs-identifier">AdditionalPropertiesObject</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="AdditionalPropertiesObject"><a href="OpenAPIPetstore.Model.html#AdditionalPropertiesObject"><span class="hs-identifier">AdditionalPropertiesObject</span></a></a><span>
</span><a name="line-442"></a><span>  </span><span class="hs-special">{</span><span> </span><a name="additionalPropertiesObjectName"><a href="OpenAPIPetstore.Model.html#additionalPropertiesObjectName"><span class="hs-identifier">additionalPropertiesObjectName</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Text</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;name&quot;</span><span>
</span><a name="line-443"></a><span>  </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Typeable</span><span class="hs-special">)</span><span>
</span><a name="line-444"></a><span>
</span><a name="line-445"></a><span class="hs-comment">-- | FromJSON AdditionalPropertiesObject</span><span>
</span><a name="line-446"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.FromJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#AdditionalPropertiesObject"><span class="hs-identifier hs-type">AdditionalPropertiesObject</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-447"></a><span>  </span><a name="local-8214565720323822289"><span class="hs-identifier">parseJSON</span></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">A.withObject</span><span> </span><span class="hs-string">&quot;AdditionalPropertiesObject&quot;</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-glyph">\</span><a name="local-6989586621679141607"><a href="#local-6989586621679141607"><span class="hs-identifier">o</span></a></a><span> </span><span class="hs-glyph">-&gt;</span><span>
</span><a name="line-448"></a><span>    </span><a href="OpenAPIPetstore.Model.html#AdditionalPropertiesObject"><span class="hs-identifier hs-var">AdditionalPropertiesObject</span></a><span>
</span><a name="line-449"></a><span>      </span><span class="hs-operator hs-var">&lt;$&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141607"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;name&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-450"></a><span>
</span><a name="line-451"></a><span class="hs-comment">-- | ToJSON AdditionalPropertiesObject</span><span>
</span><a name="line-452"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.ToJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#AdditionalPropertiesObject"><span class="hs-identifier hs-type">AdditionalPropertiesObject</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-453"></a><span>  </span><a name="local-8214565720323804008"><span class="hs-identifier">toJSON</span></a><span> </span><a href="OpenAPIPetstore.Model.html#AdditionalPropertiesObject"><span class="hs-identifier hs-var">AdditionalPropertiesObject</span></a><span> </span><span class="hs-special">{</span><span class="hs-glyph">..</span><span class="hs-special">}</span><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-454"></a><span>   </span><a href="OpenAPIPetstore.Core.html#_omitNulls"><span class="hs-identifier hs-var">_omitNulls</span></a><span>
</span><a name="line-455"></a><span>      </span><span class="hs-special">[</span><span> </span><span class="hs-string">&quot;name&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141606"><span class="hs-identifier hs-var">additionalPropertiesObjectName</span></a><span>
</span><a name="line-456"></a><span>      </span><span class="hs-special">]</span><span>
</span><a name="line-457"></a><span>
</span><a name="line-458"></a><span>
</span><a name="line-459"></a><span class="hs-comment">-- | Construct a value of type 'AdditionalPropertiesObject' (by applying it's required fields, if any)</span><span>
</span><a name="line-460"></a><span class="hs-identifier">mkAdditionalPropertiesObject</span><span>
</span><a name="line-461"></a><span>  </span><span class="hs-glyph">::</span><span> </span><a href="OpenAPIPetstore.Model.html#AdditionalPropertiesObject"><span class="hs-identifier hs-type">AdditionalPropertiesObject</span></a><span>
</span><a name="line-462"></a><a name="mkAdditionalPropertiesObject"><a href="OpenAPIPetstore.Model.html#mkAdditionalPropertiesObject"><span class="hs-identifier">mkAdditionalPropertiesObject</span></a></a><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-463"></a><span>  </span><a href="OpenAPIPetstore.Model.html#AdditionalPropertiesObject"><span class="hs-identifier hs-var">AdditionalPropertiesObject</span></a><span>
</span><a name="line-464"></a><span>  </span><span class="hs-special">{</span><span> </span><span class="hs-identifier">additionalPropertiesObjectName</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-465"></a><span>  </span><span class="hs-special">}</span><span>
</span><a name="line-466"></a><span>
</span><a name="line-467"></a><span class="hs-comment">-- ** AdditionalPropertiesString</span><span>
</span><a name="line-468"></a><span class="hs-comment">-- | AdditionalPropertiesString</span><span>
</span><a name="line-469"></a><span class="hs-keyword">data</span><span> </span><a name="AdditionalPropertiesString"><a href="OpenAPIPetstore.Model.html#AdditionalPropertiesString"><span class="hs-identifier">AdditionalPropertiesString</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="AdditionalPropertiesString"><a href="OpenAPIPetstore.Model.html#AdditionalPropertiesString"><span class="hs-identifier">AdditionalPropertiesString</span></a></a><span>
</span><a name="line-470"></a><span>  </span><span class="hs-special">{</span><span> </span><a name="additionalPropertiesStringName"><a href="OpenAPIPetstore.Model.html#additionalPropertiesStringName"><span class="hs-identifier">additionalPropertiesStringName</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Text</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;name&quot;</span><span>
</span><a name="line-471"></a><span>  </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Typeable</span><span class="hs-special">)</span><span>
</span><a name="line-472"></a><span>
</span><a name="line-473"></a><span class="hs-comment">-- | FromJSON AdditionalPropertiesString</span><span>
</span><a name="line-474"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.FromJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#AdditionalPropertiesString"><span class="hs-identifier hs-type">AdditionalPropertiesString</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-475"></a><span>  </span><a name="local-8214565720323822289"><span class="hs-identifier">parseJSON</span></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">A.withObject</span><span> </span><span class="hs-string">&quot;AdditionalPropertiesString&quot;</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-glyph">\</span><a name="local-6989586621679141605"><a href="#local-6989586621679141605"><span class="hs-identifier">o</span></a></a><span> </span><span class="hs-glyph">-&gt;</span><span>
</span><a name="line-476"></a><span>    </span><a href="OpenAPIPetstore.Model.html#AdditionalPropertiesString"><span class="hs-identifier hs-var">AdditionalPropertiesString</span></a><span>
</span><a name="line-477"></a><span>      </span><span class="hs-operator hs-var">&lt;$&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141605"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;name&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-478"></a><span>
</span><a name="line-479"></a><span class="hs-comment">-- | ToJSON AdditionalPropertiesString</span><span>
</span><a name="line-480"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.ToJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#AdditionalPropertiesString"><span class="hs-identifier hs-type">AdditionalPropertiesString</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-481"></a><span>  </span><a name="local-8214565720323804008"><span class="hs-identifier">toJSON</span></a><span> </span><a href="OpenAPIPetstore.Model.html#AdditionalPropertiesString"><span class="hs-identifier hs-var">AdditionalPropertiesString</span></a><span> </span><span class="hs-special">{</span><span class="hs-glyph">..</span><span class="hs-special">}</span><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-482"></a><span>   </span><a href="OpenAPIPetstore.Core.html#_omitNulls"><span class="hs-identifier hs-var">_omitNulls</span></a><span>
</span><a name="line-483"></a><span>      </span><span class="hs-special">[</span><span> </span><span class="hs-string">&quot;name&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141604"><span class="hs-identifier hs-var">additionalPropertiesStringName</span></a><span>
</span><a name="line-484"></a><span>      </span><span class="hs-special">]</span><span>
</span><a name="line-485"></a><span>
</span><a name="line-486"></a><span>
</span><a name="line-487"></a><span class="hs-comment">-- | Construct a value of type 'AdditionalPropertiesString' (by applying it's required fields, if any)</span><span>
</span><a name="line-488"></a><span class="hs-identifier">mkAdditionalPropertiesString</span><span>
</span><a name="line-489"></a><span>  </span><span class="hs-glyph">::</span><span> </span><a href="OpenAPIPetstore.Model.html#AdditionalPropertiesString"><span class="hs-identifier hs-type">AdditionalPropertiesString</span></a><span>
</span><a name="line-490"></a><a name="mkAdditionalPropertiesString"><a href="OpenAPIPetstore.Model.html#mkAdditionalPropertiesString"><span class="hs-identifier">mkAdditionalPropertiesString</span></a></a><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-491"></a><span>  </span><a href="OpenAPIPetstore.Model.html#AdditionalPropertiesString"><span class="hs-identifier hs-var">AdditionalPropertiesString</span></a><span>
</span><a name="line-492"></a><span>  </span><span class="hs-special">{</span><span> </span><span class="hs-identifier">additionalPropertiesStringName</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-493"></a><span>  </span><span class="hs-special">}</span><span>
</span><a name="line-494"></a><span>
</span><a name="line-495"></a><span class="hs-comment">-- ** Animal</span><span>
</span><a name="line-496"></a><span class="hs-comment">-- | Animal</span><span>
</span><a name="line-497"></a><span class="hs-keyword">data</span><span> </span><a name="Animal"><a href="OpenAPIPetstore.Model.html#Animal"><span class="hs-identifier">Animal</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="Animal"><a href="OpenAPIPetstore.Model.html#Animal"><span class="hs-identifier">Animal</span></a></a><span>
</span><a name="line-498"></a><span>  </span><span class="hs-special">{</span><span> </span><a name="animalClassName"><a href="OpenAPIPetstore.Model.html#animalClassName"><span class="hs-identifier">animalClassName</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Text</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ /Required/ &quot;className&quot;</span><span>
</span><a name="line-499"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="animalColor"><a href="OpenAPIPetstore.Model.html#animalColor"><span class="hs-identifier">animalColor</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Text</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;color&quot;</span><span>
</span><a name="line-500"></a><span>  </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Typeable</span><span class="hs-special">)</span><span>
</span><a name="line-501"></a><span>
</span><a name="line-502"></a><span class="hs-comment">-- | FromJSON Animal</span><span>
</span><a name="line-503"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.FromJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#Animal"><span class="hs-identifier hs-type">Animal</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-504"></a><span>  </span><a name="local-8214565720323822289"><span class="hs-identifier">parseJSON</span></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">A.withObject</span><span> </span><span class="hs-string">&quot;Animal&quot;</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-glyph">\</span><a name="local-6989586621679141603"><a href="#local-6989586621679141603"><span class="hs-identifier">o</span></a></a><span> </span><span class="hs-glyph">-&gt;</span><span>
</span><a name="line-505"></a><span>    </span><a href="OpenAPIPetstore.Model.html#Animal"><span class="hs-identifier hs-var">Animal</span></a><span>
</span><a name="line-506"></a><span>      </span><span class="hs-operator hs-var">&lt;$&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141603"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:</span><span>  </span><span class="hs-string">&quot;className&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-507"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141603"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;color&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-508"></a><span>
</span><a name="line-509"></a><span class="hs-comment">-- | ToJSON Animal</span><span>
</span><a name="line-510"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.ToJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#Animal"><span class="hs-identifier hs-type">Animal</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-511"></a><span>  </span><a name="local-8214565720323804008"><span class="hs-identifier">toJSON</span></a><span> </span><a href="OpenAPIPetstore.Model.html#Animal"><span class="hs-identifier hs-var">Animal</span></a><span> </span><span class="hs-special">{</span><span class="hs-glyph">..</span><span class="hs-special">}</span><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-512"></a><span>   </span><a href="OpenAPIPetstore.Core.html#_omitNulls"><span class="hs-identifier hs-var">_omitNulls</span></a><span>
</span><a name="line-513"></a><span>      </span><span class="hs-special">[</span><span> </span><span class="hs-string">&quot;className&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141601"><span class="hs-identifier hs-var">animalClassName</span></a><span>
</span><a name="line-514"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;color&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141602"><span class="hs-identifier hs-var">animalColor</span></a><span>
</span><a name="line-515"></a><span>      </span><span class="hs-special">]</span><span>
</span><a name="line-516"></a><span>
</span><a name="line-517"></a><span>
</span><a name="line-518"></a><span class="hs-comment">-- | Construct a value of type 'Animal' (by applying it's required fields, if any)</span><span>
</span><a name="line-519"></a><span class="hs-identifier">mkAnimal</span><span>
</span><a name="line-520"></a><span>  </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier hs-type">Text</span><span> </span><span class="hs-comment">-- ^ 'animalClassName' </span><span>
</span><a name="line-521"></a><span>  </span><span class="hs-glyph">-&gt;</span><span> </span><a href="OpenAPIPetstore.Model.html#Animal"><span class="hs-identifier hs-type">Animal</span></a><span>
</span><a name="line-522"></a><a name="mkAnimal"><a href="OpenAPIPetstore.Model.html#mkAnimal"><span class="hs-identifier">mkAnimal</span></a></a><span> </span><a name="local-6989586621679141630"><a href="#local-6989586621679141630"><span class="hs-identifier">animalClassName</span></a></a><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-523"></a><span>  </span><a href="OpenAPIPetstore.Model.html#Animal"><span class="hs-identifier hs-var">Animal</span></a><span>
</span><a name="line-524"></a><span>  </span><span class="hs-special">{</span><span> </span><a href="#local-6989586621679141630"><span class="hs-identifier hs-var">animalClassName</span></a><span>
</span><a name="line-525"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">animalColor</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-526"></a><span>  </span><span class="hs-special">}</span><span>
</span><a name="line-527"></a><span>
</span><a name="line-528"></a><span class="hs-comment">-- ** ApiResponse</span><span>
</span><a name="line-529"></a><span class="hs-comment">-- | ApiResponse</span><span>
</span><a name="line-530"></a><span class="hs-keyword">data</span><span> </span><a name="ApiResponse"><a href="OpenAPIPetstore.Model.html#ApiResponse"><span class="hs-identifier">ApiResponse</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="ApiResponse"><a href="OpenAPIPetstore.Model.html#ApiResponse"><span class="hs-identifier">ApiResponse</span></a></a><span>
</span><a name="line-531"></a><span>  </span><span class="hs-special">{</span><span> </span><a name="apiResponseCode"><a href="OpenAPIPetstore.Model.html#apiResponseCode"><span class="hs-identifier">apiResponseCode</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Int</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;code&quot;</span><span>
</span><a name="line-532"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="apiResponseType"><a href="OpenAPIPetstore.Model.html#apiResponseType"><span class="hs-identifier">apiResponseType</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Text</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;type&quot;</span><span>
</span><a name="line-533"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="apiResponseMessage"><a href="OpenAPIPetstore.Model.html#apiResponseMessage"><span class="hs-identifier">apiResponseMessage</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Text</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;message&quot;</span><span>
</span><a name="line-534"></a><span>  </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Typeable</span><span class="hs-special">)</span><span>
</span><a name="line-535"></a><span>
</span><a name="line-536"></a><span class="hs-comment">-- | FromJSON ApiResponse</span><span>
</span><a name="line-537"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.FromJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#ApiResponse"><span class="hs-identifier hs-type">ApiResponse</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-538"></a><span>  </span><a name="local-8214565720323822289"><span class="hs-identifier">parseJSON</span></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">A.withObject</span><span> </span><span class="hs-string">&quot;ApiResponse&quot;</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-glyph">\</span><a name="local-6989586621679141600"><a href="#local-6989586621679141600"><span class="hs-identifier">o</span></a></a><span> </span><span class="hs-glyph">-&gt;</span><span>
</span><a name="line-539"></a><span>    </span><a href="OpenAPIPetstore.Model.html#ApiResponse"><span class="hs-identifier hs-var">ApiResponse</span></a><span>
</span><a name="line-540"></a><span>      </span><span class="hs-operator hs-var">&lt;$&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141600"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;code&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-541"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141600"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;type&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-542"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141600"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;message&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-543"></a><span>
</span><a name="line-544"></a><span class="hs-comment">-- | ToJSON ApiResponse</span><span>
</span><a name="line-545"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.ToJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#ApiResponse"><span class="hs-identifier hs-type">ApiResponse</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-546"></a><span>  </span><a name="local-8214565720323804008"><span class="hs-identifier">toJSON</span></a><span> </span><a href="OpenAPIPetstore.Model.html#ApiResponse"><span class="hs-identifier hs-var">ApiResponse</span></a><span> </span><span class="hs-special">{</span><span class="hs-glyph">..</span><span class="hs-special">}</span><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-547"></a><span>   </span><a href="OpenAPIPetstore.Core.html#_omitNulls"><span class="hs-identifier hs-var">_omitNulls</span></a><span>
</span><a name="line-548"></a><span>      </span><span class="hs-special">[</span><span> </span><span class="hs-string">&quot;code&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141597"><span class="hs-identifier hs-var">apiResponseCode</span></a><span>
</span><a name="line-549"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;type&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141598"><span class="hs-identifier hs-var">apiResponseType</span></a><span>
</span><a name="line-550"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;message&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141599"><span class="hs-identifier hs-var">apiResponseMessage</span></a><span>
</span><a name="line-551"></a><span>      </span><span class="hs-special">]</span><span>
</span><a name="line-552"></a><span>
</span><a name="line-553"></a><span>
</span><a name="line-554"></a><span class="hs-comment">-- | Construct a value of type 'ApiResponse' (by applying it's required fields, if any)</span><span>
</span><a name="line-555"></a><span class="hs-identifier">mkApiResponse</span><span>
</span><a name="line-556"></a><span>  </span><span class="hs-glyph">::</span><span> </span><a href="OpenAPIPetstore.Model.html#ApiResponse"><span class="hs-identifier hs-type">ApiResponse</span></a><span>
</span><a name="line-557"></a><a name="mkApiResponse"><a href="OpenAPIPetstore.Model.html#mkApiResponse"><span class="hs-identifier">mkApiResponse</span></a></a><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-558"></a><span>  </span><a href="OpenAPIPetstore.Model.html#ApiResponse"><span class="hs-identifier hs-var">ApiResponse</span></a><span>
</span><a name="line-559"></a><span>  </span><span class="hs-special">{</span><span> </span><span class="hs-identifier">apiResponseCode</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-560"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">apiResponseType</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-561"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">apiResponseMessage</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-562"></a><span>  </span><span class="hs-special">}</span><span>
</span><a name="line-563"></a><span>
</span><a name="line-564"></a><span class="hs-comment">-- ** ArrayOfArrayOfNumberOnly</span><span>
</span><a name="line-565"></a><span class="hs-comment">-- | ArrayOfArrayOfNumberOnly</span><span>
</span><a name="line-566"></a><span class="hs-keyword">data</span><span> </span><a name="ArrayOfArrayOfNumberOnly"><a href="OpenAPIPetstore.Model.html#ArrayOfArrayOfNumberOnly"><span class="hs-identifier">ArrayOfArrayOfNumberOnly</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="ArrayOfArrayOfNumberOnly"><a href="OpenAPIPetstore.Model.html#ArrayOfArrayOfNumberOnly"><span class="hs-identifier">ArrayOfArrayOfNumberOnly</span></a></a><span>
</span><a name="line-567"></a><span>  </span><span class="hs-special">{</span><span> </span><a name="arrayOfArrayOfNumberOnlyArrayArrayNumber"><a href="OpenAPIPetstore.Model.html#arrayOfArrayOfNumberOnlyArrayArrayNumber"><span class="hs-identifier">arrayOfArrayOfNumberOnlyArrayArrayNumber</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-special">[</span><span class="hs-special">[</span><span class="hs-identifier hs-type">Double</span><span class="hs-special">]</span><span class="hs-special">]</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;ArrayArrayNumber&quot;</span><span>
</span><a name="line-568"></a><span>  </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Typeable</span><span class="hs-special">)</span><span>
</span><a name="line-569"></a><span>
</span><a name="line-570"></a><span class="hs-comment">-- | FromJSON ArrayOfArrayOfNumberOnly</span><span>
</span><a name="line-571"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.FromJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#ArrayOfArrayOfNumberOnly"><span class="hs-identifier hs-type">ArrayOfArrayOfNumberOnly</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-572"></a><span>  </span><a name="local-8214565720323822289"><span class="hs-identifier">parseJSON</span></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">A.withObject</span><span> </span><span class="hs-string">&quot;ArrayOfArrayOfNumberOnly&quot;</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-glyph">\</span><a name="local-6989586621679141596"><a href="#local-6989586621679141596"><span class="hs-identifier">o</span></a></a><span> </span><span class="hs-glyph">-&gt;</span><span>
</span><a name="line-573"></a><span>    </span><a href="OpenAPIPetstore.Model.html#ArrayOfArrayOfNumberOnly"><span class="hs-identifier hs-var">ArrayOfArrayOfNumberOnly</span></a><span>
</span><a name="line-574"></a><span>      </span><span class="hs-operator hs-var">&lt;$&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141596"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;ArrayArrayNumber&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-575"></a><span>
</span><a name="line-576"></a><span class="hs-comment">-- | ToJSON ArrayOfArrayOfNumberOnly</span><span>
</span><a name="line-577"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.ToJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#ArrayOfArrayOfNumberOnly"><span class="hs-identifier hs-type">ArrayOfArrayOfNumberOnly</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-578"></a><span>  </span><a name="local-8214565720323804008"><span class="hs-identifier">toJSON</span></a><span> </span><a href="OpenAPIPetstore.Model.html#ArrayOfArrayOfNumberOnly"><span class="hs-identifier hs-var">ArrayOfArrayOfNumberOnly</span></a><span> </span><span class="hs-special">{</span><span class="hs-glyph">..</span><span class="hs-special">}</span><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-579"></a><span>   </span><a href="OpenAPIPetstore.Core.html#_omitNulls"><span class="hs-identifier hs-var">_omitNulls</span></a><span>
</span><a name="line-580"></a><span>      </span><span class="hs-special">[</span><span> </span><span class="hs-string">&quot;ArrayArrayNumber&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141595"><span class="hs-identifier hs-var">arrayOfArrayOfNumberOnlyArrayArrayNumber</span></a><span>
</span><a name="line-581"></a><span>      </span><span class="hs-special">]</span><span>
</span><a name="line-582"></a><span>
</span><a name="line-583"></a><span>
</span><a name="line-584"></a><span class="hs-comment">-- | Construct a value of type 'ArrayOfArrayOfNumberOnly' (by applying it's required fields, if any)</span><span>
</span><a name="line-585"></a><span class="hs-identifier">mkArrayOfArrayOfNumberOnly</span><span>
</span><a name="line-586"></a><span>  </span><span class="hs-glyph">::</span><span> </span><a href="OpenAPIPetstore.Model.html#ArrayOfArrayOfNumberOnly"><span class="hs-identifier hs-type">ArrayOfArrayOfNumberOnly</span></a><span>
</span><a name="line-587"></a><a name="mkArrayOfArrayOfNumberOnly"><a href="OpenAPIPetstore.Model.html#mkArrayOfArrayOfNumberOnly"><span class="hs-identifier">mkArrayOfArrayOfNumberOnly</span></a></a><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-588"></a><span>  </span><a href="OpenAPIPetstore.Model.html#ArrayOfArrayOfNumberOnly"><span class="hs-identifier hs-var">ArrayOfArrayOfNumberOnly</span></a><span>
</span><a name="line-589"></a><span>  </span><span class="hs-special">{</span><span> </span><span class="hs-identifier">arrayOfArrayOfNumberOnlyArrayArrayNumber</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-590"></a><span>  </span><span class="hs-special">}</span><span>
</span><a name="line-591"></a><span>
</span><a name="line-592"></a><span class="hs-comment">-- ** ArrayOfNumberOnly</span><span>
</span><a name="line-593"></a><span class="hs-comment">-- | ArrayOfNumberOnly</span><span>
</span><a name="line-594"></a><span class="hs-keyword">data</span><span> </span><a name="ArrayOfNumberOnly"><a href="OpenAPIPetstore.Model.html#ArrayOfNumberOnly"><span class="hs-identifier">ArrayOfNumberOnly</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="ArrayOfNumberOnly"><a href="OpenAPIPetstore.Model.html#ArrayOfNumberOnly"><span class="hs-identifier">ArrayOfNumberOnly</span></a></a><span>
</span><a name="line-595"></a><span>  </span><span class="hs-special">{</span><span> </span><a name="arrayOfNumberOnlyArrayNumber"><a href="OpenAPIPetstore.Model.html#arrayOfNumberOnlyArrayNumber"><span class="hs-identifier">arrayOfNumberOnlyArrayNumber</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-special">[</span><span class="hs-identifier hs-type">Double</span><span class="hs-special">]</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;ArrayNumber&quot;</span><span>
</span><a name="line-596"></a><span>  </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Typeable</span><span class="hs-special">)</span><span>
</span><a name="line-597"></a><span>
</span><a name="line-598"></a><span class="hs-comment">-- | FromJSON ArrayOfNumberOnly</span><span>
</span><a name="line-599"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.FromJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#ArrayOfNumberOnly"><span class="hs-identifier hs-type">ArrayOfNumberOnly</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-600"></a><span>  </span><a name="local-8214565720323822289"><span class="hs-identifier">parseJSON</span></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">A.withObject</span><span> </span><span class="hs-string">&quot;ArrayOfNumberOnly&quot;</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-glyph">\</span><a name="local-6989586621679141594"><a href="#local-6989586621679141594"><span class="hs-identifier">o</span></a></a><span> </span><span class="hs-glyph">-&gt;</span><span>
</span><a name="line-601"></a><span>    </span><a href="OpenAPIPetstore.Model.html#ArrayOfNumberOnly"><span class="hs-identifier hs-var">ArrayOfNumberOnly</span></a><span>
</span><a name="line-602"></a><span>      </span><span class="hs-operator hs-var">&lt;$&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141594"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;ArrayNumber&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-603"></a><span>
</span><a name="line-604"></a><span class="hs-comment">-- | ToJSON ArrayOfNumberOnly</span><span>
</span><a name="line-605"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.ToJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#ArrayOfNumberOnly"><span class="hs-identifier hs-type">ArrayOfNumberOnly</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-606"></a><span>  </span><a name="local-8214565720323804008"><span class="hs-identifier">toJSON</span></a><span> </span><a href="OpenAPIPetstore.Model.html#ArrayOfNumberOnly"><span class="hs-identifier hs-var">ArrayOfNumberOnly</span></a><span> </span><span class="hs-special">{</span><span class="hs-glyph">..</span><span class="hs-special">}</span><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-607"></a><span>   </span><a href="OpenAPIPetstore.Core.html#_omitNulls"><span class="hs-identifier hs-var">_omitNulls</span></a><span>
</span><a name="line-608"></a><span>      </span><span class="hs-special">[</span><span> </span><span class="hs-string">&quot;ArrayNumber&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141593"><span class="hs-identifier hs-var">arrayOfNumberOnlyArrayNumber</span></a><span>
</span><a name="line-609"></a><span>      </span><span class="hs-special">]</span><span>
</span><a name="line-610"></a><span>
</span><a name="line-611"></a><span>
</span><a name="line-612"></a><span class="hs-comment">-- | Construct a value of type 'ArrayOfNumberOnly' (by applying it's required fields, if any)</span><span>
</span><a name="line-613"></a><span class="hs-identifier">mkArrayOfNumberOnly</span><span>
</span><a name="line-614"></a><span>  </span><span class="hs-glyph">::</span><span> </span><a href="OpenAPIPetstore.Model.html#ArrayOfNumberOnly"><span class="hs-identifier hs-type">ArrayOfNumberOnly</span></a><span>
</span><a name="line-615"></a><a name="mkArrayOfNumberOnly"><a href="OpenAPIPetstore.Model.html#mkArrayOfNumberOnly"><span class="hs-identifier">mkArrayOfNumberOnly</span></a></a><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-616"></a><span>  </span><a href="OpenAPIPetstore.Model.html#ArrayOfNumberOnly"><span class="hs-identifier hs-var">ArrayOfNumberOnly</span></a><span>
</span><a name="line-617"></a><span>  </span><span class="hs-special">{</span><span> </span><span class="hs-identifier">arrayOfNumberOnlyArrayNumber</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-618"></a><span>  </span><span class="hs-special">}</span><span>
</span><a name="line-619"></a><span>
</span><a name="line-620"></a><span class="hs-comment">-- ** ArrayTest</span><span>
</span><a name="line-621"></a><span class="hs-comment">-- | ArrayTest</span><span>
</span><a name="line-622"></a><span class="hs-keyword">data</span><span> </span><a name="ArrayTest"><a href="OpenAPIPetstore.Model.html#ArrayTest"><span class="hs-identifier">ArrayTest</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="ArrayTest"><a href="OpenAPIPetstore.Model.html#ArrayTest"><span class="hs-identifier">ArrayTest</span></a></a><span>
</span><a name="line-623"></a><span>  </span><span class="hs-special">{</span><span> </span><a name="arrayTestArrayOfString"><a href="OpenAPIPetstore.Model.html#arrayTestArrayOfString"><span class="hs-identifier">arrayTestArrayOfString</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-special">[</span><span class="hs-identifier hs-type">Text</span><span class="hs-special">]</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;array_of_string&quot;</span><span>
</span><a name="line-624"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="arrayTestArrayArrayOfInteger"><a href="OpenAPIPetstore.Model.html#arrayTestArrayArrayOfInteger"><span class="hs-identifier">arrayTestArrayArrayOfInteger</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-special">[</span><span class="hs-special">[</span><span class="hs-identifier hs-type">Integer</span><span class="hs-special">]</span><span class="hs-special">]</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;array_array_of_integer&quot;</span><span>
</span><a name="line-625"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="arrayTestArrayArrayOfModel"><a href="OpenAPIPetstore.Model.html#arrayTestArrayArrayOfModel"><span class="hs-identifier">arrayTestArrayArrayOfModel</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-special">[</span><span class="hs-special">[</span><a href="OpenAPIPetstore.Model.html#ReadOnlyFirst"><span class="hs-identifier hs-type">ReadOnlyFirst</span></a><span class="hs-special">]</span><span class="hs-special">]</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;array_array_of_model&quot;</span><span>
</span><a name="line-626"></a><span>  </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Typeable</span><span class="hs-special">)</span><span>
</span><a name="line-627"></a><span>
</span><a name="line-628"></a><span class="hs-comment">-- | FromJSON ArrayTest</span><span>
</span><a name="line-629"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.FromJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#ArrayTest"><span class="hs-identifier hs-type">ArrayTest</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-630"></a><span>  </span><a name="local-8214565720323822289"><span class="hs-identifier">parseJSON</span></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">A.withObject</span><span> </span><span class="hs-string">&quot;ArrayTest&quot;</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-glyph">\</span><a name="local-6989586621679141592"><a href="#local-6989586621679141592"><span class="hs-identifier">o</span></a></a><span> </span><span class="hs-glyph">-&gt;</span><span>
</span><a name="line-631"></a><span>    </span><a href="OpenAPIPetstore.Model.html#ArrayTest"><span class="hs-identifier hs-var">ArrayTest</span></a><span>
</span><a name="line-632"></a><span>      </span><span class="hs-operator hs-var">&lt;$&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141592"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;array_of_string&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-633"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141592"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;array_array_of_integer&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-634"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141592"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;array_array_of_model&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-635"></a><span>
</span><a name="line-636"></a><span class="hs-comment">-- | ToJSON ArrayTest</span><span>
</span><a name="line-637"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.ToJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#ArrayTest"><span class="hs-identifier hs-type">ArrayTest</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-638"></a><span>  </span><a name="local-8214565720323804008"><span class="hs-identifier">toJSON</span></a><span> </span><a href="OpenAPIPetstore.Model.html#ArrayTest"><span class="hs-identifier hs-var">ArrayTest</span></a><span> </span><span class="hs-special">{</span><span class="hs-glyph">..</span><span class="hs-special">}</span><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-639"></a><span>   </span><a href="OpenAPIPetstore.Core.html#_omitNulls"><span class="hs-identifier hs-var">_omitNulls</span></a><span>
</span><a name="line-640"></a><span>      </span><span class="hs-special">[</span><span> </span><span class="hs-string">&quot;array_of_string&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141589"><span class="hs-identifier hs-var">arrayTestArrayOfString</span></a><span>
</span><a name="line-641"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;array_array_of_integer&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141590"><span class="hs-identifier hs-var">arrayTestArrayArrayOfInteger</span></a><span>
</span><a name="line-642"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;array_array_of_model&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141591"><span class="hs-identifier hs-var">arrayTestArrayArrayOfModel</span></a><span>
</span><a name="line-643"></a><span>      </span><span class="hs-special">]</span><span>
</span><a name="line-644"></a><span>
</span><a name="line-645"></a><span>
</span><a name="line-646"></a><span class="hs-comment">-- | Construct a value of type 'ArrayTest' (by applying it's required fields, if any)</span><span>
</span><a name="line-647"></a><span class="hs-identifier">mkArrayTest</span><span>
</span><a name="line-648"></a><span>  </span><span class="hs-glyph">::</span><span> </span><a href="OpenAPIPetstore.Model.html#ArrayTest"><span class="hs-identifier hs-type">ArrayTest</span></a><span>
</span><a name="line-649"></a><a name="mkArrayTest"><a href="OpenAPIPetstore.Model.html#mkArrayTest"><span class="hs-identifier">mkArrayTest</span></a></a><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-650"></a><span>  </span><a href="OpenAPIPetstore.Model.html#ArrayTest"><span class="hs-identifier hs-var">ArrayTest</span></a><span>
</span><a name="line-651"></a><span>  </span><span class="hs-special">{</span><span> </span><span class="hs-identifier">arrayTestArrayOfString</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-652"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">arrayTestArrayArrayOfInteger</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-653"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">arrayTestArrayArrayOfModel</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-654"></a><span>  </span><span class="hs-special">}</span><span>
</span><a name="line-655"></a><span>
</span><a name="line-656"></a><span class="hs-comment">-- ** Capitalization</span><span>
</span><a name="line-657"></a><span class="hs-comment">-- | Capitalization</span><span>
</span><a name="line-658"></a><span class="hs-keyword">data</span><span> </span><a name="Capitalization"><a href="OpenAPIPetstore.Model.html#Capitalization"><span class="hs-identifier">Capitalization</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="Capitalization"><a href="OpenAPIPetstore.Model.html#Capitalization"><span class="hs-identifier">Capitalization</span></a></a><span>
</span><a name="line-659"></a><span>  </span><span class="hs-special">{</span><span> </span><a name="capitalizationSmallCamel"><a href="OpenAPIPetstore.Model.html#capitalizationSmallCamel"><span class="hs-identifier">capitalizationSmallCamel</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Text</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;smallCamel&quot;</span><span>
</span><a name="line-660"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="capitalizationCapitalCamel"><a href="OpenAPIPetstore.Model.html#capitalizationCapitalCamel"><span class="hs-identifier">capitalizationCapitalCamel</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Text</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;CapitalCamel&quot;</span><span>
</span><a name="line-661"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="capitalizationSmallSnake"><a href="OpenAPIPetstore.Model.html#capitalizationSmallSnake"><span class="hs-identifier">capitalizationSmallSnake</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Text</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;small_Snake&quot;</span><span>
</span><a name="line-662"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="capitalizationCapitalSnake"><a href="OpenAPIPetstore.Model.html#capitalizationCapitalSnake"><span class="hs-identifier">capitalizationCapitalSnake</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Text</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;Capital_Snake&quot;</span><span>
</span><a name="line-663"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="capitalizationScaEthFlowPoints"><a href="OpenAPIPetstore.Model.html#capitalizationScaEthFlowPoints"><span class="hs-identifier">capitalizationScaEthFlowPoints</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Text</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;SCA_ETH_Flow_Points&quot;</span><span>
</span><a name="line-664"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="capitalizationAttName"><a href="OpenAPIPetstore.Model.html#capitalizationAttName"><span class="hs-identifier">capitalizationAttName</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Text</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;ATT_NAME&quot; - Name of the pet </span><span>
</span><a name="line-665"></a><span>  </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Typeable</span><span class="hs-special">)</span><span>
</span><a name="line-666"></a><span>
</span><a name="line-667"></a><span class="hs-comment">-- | FromJSON Capitalization</span><span>
</span><a name="line-668"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.FromJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#Capitalization"><span class="hs-identifier hs-type">Capitalization</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-669"></a><span>  </span><a name="local-8214565720323822289"><span class="hs-identifier">parseJSON</span></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">A.withObject</span><span> </span><span class="hs-string">&quot;Capitalization&quot;</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-glyph">\</span><a name="local-6989586621679141588"><a href="#local-6989586621679141588"><span class="hs-identifier">o</span></a></a><span> </span><span class="hs-glyph">-&gt;</span><span>
</span><a name="line-670"></a><span>    </span><a href="OpenAPIPetstore.Model.html#Capitalization"><span class="hs-identifier hs-var">Capitalization</span></a><span>
</span><a name="line-671"></a><span>      </span><span class="hs-operator hs-var">&lt;$&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141588"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;smallCamel&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-672"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141588"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;CapitalCamel&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-673"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141588"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;small_Snake&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-674"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141588"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;Capital_Snake&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-675"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141588"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;SCA_ETH_Flow_Points&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-676"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141588"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;ATT_NAME&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-677"></a><span>
</span><a name="line-678"></a><span class="hs-comment">-- | ToJSON Capitalization</span><span>
</span><a name="line-679"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.ToJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#Capitalization"><span class="hs-identifier hs-type">Capitalization</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-680"></a><span>  </span><a name="local-8214565720323804008"><span class="hs-identifier">toJSON</span></a><span> </span><a href="OpenAPIPetstore.Model.html#Capitalization"><span class="hs-identifier hs-var">Capitalization</span></a><span> </span><span class="hs-special">{</span><span class="hs-glyph">..</span><span class="hs-special">}</span><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-681"></a><span>   </span><a href="OpenAPIPetstore.Core.html#_omitNulls"><span class="hs-identifier hs-var">_omitNulls</span></a><span>
</span><a name="line-682"></a><span>      </span><span class="hs-special">[</span><span> </span><span class="hs-string">&quot;smallCamel&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141582"><span class="hs-identifier hs-var">capitalizationSmallCamel</span></a><span>
</span><a name="line-683"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;CapitalCamel&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141583"><span class="hs-identifier hs-var">capitalizationCapitalCamel</span></a><span>
</span><a name="line-684"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;small_Snake&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141584"><span class="hs-identifier hs-var">capitalizationSmallSnake</span></a><span>
</span><a name="line-685"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;Capital_Snake&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141585"><span class="hs-identifier hs-var">capitalizationCapitalSnake</span></a><span>
</span><a name="line-686"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;SCA_ETH_Flow_Points&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141586"><span class="hs-identifier hs-var">capitalizationScaEthFlowPoints</span></a><span>
</span><a name="line-687"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;ATT_NAME&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141587"><span class="hs-identifier hs-var">capitalizationAttName</span></a><span>
</span><a name="line-688"></a><span>      </span><span class="hs-special">]</span><span>
</span><a name="line-689"></a><span>
</span><a name="line-690"></a><span>
</span><a name="line-691"></a><span class="hs-comment">-- | Construct a value of type 'Capitalization' (by applying it's required fields, if any)</span><span>
</span><a name="line-692"></a><span class="hs-identifier">mkCapitalization</span><span>
</span><a name="line-693"></a><span>  </span><span class="hs-glyph">::</span><span> </span><a href="OpenAPIPetstore.Model.html#Capitalization"><span class="hs-identifier hs-type">Capitalization</span></a><span>
</span><a name="line-694"></a><a name="mkCapitalization"><a href="OpenAPIPetstore.Model.html#mkCapitalization"><span class="hs-identifier">mkCapitalization</span></a></a><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-695"></a><span>  </span><a href="OpenAPIPetstore.Model.html#Capitalization"><span class="hs-identifier hs-var">Capitalization</span></a><span>
</span><a name="line-696"></a><span>  </span><span class="hs-special">{</span><span> </span><span class="hs-identifier">capitalizationSmallCamel</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-697"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">capitalizationCapitalCamel</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-698"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">capitalizationSmallSnake</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-699"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">capitalizationCapitalSnake</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-700"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">capitalizationScaEthFlowPoints</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-701"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">capitalizationAttName</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-702"></a><span>  </span><span class="hs-special">}</span><span>
</span><a name="line-703"></a><span>
</span><a name="line-704"></a><span class="hs-comment">-- ** Cat</span><span>
</span><a name="line-705"></a><span class="hs-comment">-- | Cat</span><span>
</span><a name="line-706"></a><span class="hs-keyword">data</span><span> </span><a name="Cat"><a href="OpenAPIPetstore.Model.html#Cat"><span class="hs-identifier">Cat</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="Cat"><a href="OpenAPIPetstore.Model.html#Cat"><span class="hs-identifier">Cat</span></a></a><span>
</span><a name="line-707"></a><span>  </span><span class="hs-special">{</span><span> </span><a name="catClassName"><a href="OpenAPIPetstore.Model.html#catClassName"><span class="hs-identifier">catClassName</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Text</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ /Required/ &quot;className&quot;</span><span>
</span><a name="line-708"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="catColor"><a href="OpenAPIPetstore.Model.html#catColor"><span class="hs-identifier">catColor</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Text</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;color&quot;</span><span>
</span><a name="line-709"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="catDeclawed"><a href="OpenAPIPetstore.Model.html#catDeclawed"><span class="hs-identifier">catDeclawed</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Bool</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;declawed&quot;</span><span>
</span><a name="line-710"></a><span>  </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Typeable</span><span class="hs-special">)</span><span>
</span><a name="line-711"></a><span>
</span><a name="line-712"></a><span class="hs-comment">-- | FromJSON Cat</span><span>
</span><a name="line-713"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.FromJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#Cat"><span class="hs-identifier hs-type">Cat</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-714"></a><span>  </span><a name="local-8214565720323822289"><span class="hs-identifier">parseJSON</span></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">A.withObject</span><span> </span><span class="hs-string">&quot;Cat&quot;</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-glyph">\</span><a name="local-6989586621679141581"><a href="#local-6989586621679141581"><span class="hs-identifier">o</span></a></a><span> </span><span class="hs-glyph">-&gt;</span><span>
</span><a name="line-715"></a><span>    </span><a href="OpenAPIPetstore.Model.html#Cat"><span class="hs-identifier hs-var">Cat</span></a><span>
</span><a name="line-716"></a><span>      </span><span class="hs-operator hs-var">&lt;$&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141581"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:</span><span>  </span><span class="hs-string">&quot;className&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-717"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141581"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;color&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-718"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141581"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;declawed&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-719"></a><span>
</span><a name="line-720"></a><span class="hs-comment">-- | ToJSON Cat</span><span>
</span><a name="line-721"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.ToJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#Cat"><span class="hs-identifier hs-type">Cat</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-722"></a><span>  </span><a name="local-8214565720323804008"><span class="hs-identifier">toJSON</span></a><span> </span><a href="OpenAPIPetstore.Model.html#Cat"><span class="hs-identifier hs-var">Cat</span></a><span> </span><span class="hs-special">{</span><span class="hs-glyph">..</span><span class="hs-special">}</span><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-723"></a><span>   </span><a href="OpenAPIPetstore.Core.html#_omitNulls"><span class="hs-identifier hs-var">_omitNulls</span></a><span>
</span><a name="line-724"></a><span>      </span><span class="hs-special">[</span><span> </span><span class="hs-string">&quot;className&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141578"><span class="hs-identifier hs-var">catClassName</span></a><span>
</span><a name="line-725"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;color&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141579"><span class="hs-identifier hs-var">catColor</span></a><span>
</span><a name="line-726"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;declawed&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141580"><span class="hs-identifier hs-var">catDeclawed</span></a><span>
</span><a name="line-727"></a><span>      </span><span class="hs-special">]</span><span>
</span><a name="line-728"></a><span>
</span><a name="line-729"></a><span>
</span><a name="line-730"></a><span class="hs-comment">-- | Construct a value of type 'Cat' (by applying it's required fields, if any)</span><span>
</span><a name="line-731"></a><span class="hs-identifier">mkCat</span><span>
</span><a name="line-732"></a><span>  </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier hs-type">Text</span><span> </span><span class="hs-comment">-- ^ 'catClassName' </span><span>
</span><a name="line-733"></a><span>  </span><span class="hs-glyph">-&gt;</span><span> </span><a href="OpenAPIPetstore.Model.html#Cat"><span class="hs-identifier hs-type">Cat</span></a><span>
</span><a name="line-734"></a><a name="mkCat"><a href="OpenAPIPetstore.Model.html#mkCat"><span class="hs-identifier">mkCat</span></a></a><span> </span><a name="local-6989586621679141631"><a href="#local-6989586621679141631"><span class="hs-identifier">catClassName</span></a></a><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-735"></a><span>  </span><a href="OpenAPIPetstore.Model.html#Cat"><span class="hs-identifier hs-var">Cat</span></a><span>
</span><a name="line-736"></a><span>  </span><span class="hs-special">{</span><span> </span><a href="#local-6989586621679141631"><span class="hs-identifier hs-var">catClassName</span></a><span>
</span><a name="line-737"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">catColor</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-738"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">catDeclawed</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-739"></a><span>  </span><span class="hs-special">}</span><span>
</span><a name="line-740"></a><span>
</span><a name="line-741"></a><span class="hs-comment">-- ** CatAllOf</span><span>
</span><a name="line-742"></a><span class="hs-comment">-- | CatAllOf</span><span>
</span><a name="line-743"></a><span class="hs-keyword">data</span><span> </span><a name="CatAllOf"><a href="OpenAPIPetstore.Model.html#CatAllOf"><span class="hs-identifier">CatAllOf</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="CatAllOf"><a href="OpenAPIPetstore.Model.html#CatAllOf"><span class="hs-identifier">CatAllOf</span></a></a><span>
</span><a name="line-744"></a><span>  </span><span class="hs-special">{</span><span> </span><a name="catAllOfDeclawed"><a href="OpenAPIPetstore.Model.html#catAllOfDeclawed"><span class="hs-identifier">catAllOfDeclawed</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Bool</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;declawed&quot;</span><span>
</span><a name="line-745"></a><span>  </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Typeable</span><span class="hs-special">)</span><span>
</span><a name="line-746"></a><span>
</span><a name="line-747"></a><span class="hs-comment">-- | FromJSON CatAllOf</span><span>
</span><a name="line-748"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.FromJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#CatAllOf"><span class="hs-identifier hs-type">CatAllOf</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-749"></a><span>  </span><a name="local-8214565720323822289"><span class="hs-identifier">parseJSON</span></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">A.withObject</span><span> </span><span class="hs-string">&quot;CatAllOf&quot;</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-glyph">\</span><a name="local-6989586621679141577"><a href="#local-6989586621679141577"><span class="hs-identifier">o</span></a></a><span> </span><span class="hs-glyph">-&gt;</span><span>
</span><a name="line-750"></a><span>    </span><a href="OpenAPIPetstore.Model.html#CatAllOf"><span class="hs-identifier hs-var">CatAllOf</span></a><span>
</span><a name="line-751"></a><span>      </span><span class="hs-operator hs-var">&lt;$&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141577"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;declawed&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-752"></a><span>
</span><a name="line-753"></a><span class="hs-comment">-- | ToJSON CatAllOf</span><span>
</span><a name="line-754"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.ToJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#CatAllOf"><span class="hs-identifier hs-type">CatAllOf</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-755"></a><span>  </span><a name="local-8214565720323804008"><span class="hs-identifier">toJSON</span></a><span> </span><a href="OpenAPIPetstore.Model.html#CatAllOf"><span class="hs-identifier hs-var">CatAllOf</span></a><span> </span><span class="hs-special">{</span><span class="hs-glyph">..</span><span class="hs-special">}</span><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-756"></a><span>   </span><a href="OpenAPIPetstore.Core.html#_omitNulls"><span class="hs-identifier hs-var">_omitNulls</span></a><span>
</span><a name="line-757"></a><span>      </span><span class="hs-special">[</span><span> </span><span class="hs-string">&quot;declawed&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141576"><span class="hs-identifier hs-var">catAllOfDeclawed</span></a><span>
</span><a name="line-758"></a><span>      </span><span class="hs-special">]</span><span>
</span><a name="line-759"></a><span>
</span><a name="line-760"></a><span>
</span><a name="line-761"></a><span class="hs-comment">-- | Construct a value of type 'CatAllOf' (by applying it's required fields, if any)</span><span>
</span><a name="line-762"></a><span class="hs-identifier">mkCatAllOf</span><span>
</span><a name="line-763"></a><span>  </span><span class="hs-glyph">::</span><span> </span><a href="OpenAPIPetstore.Model.html#CatAllOf"><span class="hs-identifier hs-type">CatAllOf</span></a><span>
</span><a name="line-764"></a><a name="mkCatAllOf"><a href="OpenAPIPetstore.Model.html#mkCatAllOf"><span class="hs-identifier">mkCatAllOf</span></a></a><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-765"></a><span>  </span><a href="OpenAPIPetstore.Model.html#CatAllOf"><span class="hs-identifier hs-var">CatAllOf</span></a><span>
</span><a name="line-766"></a><span>  </span><span class="hs-special">{</span><span> </span><span class="hs-identifier">catAllOfDeclawed</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-767"></a><span>  </span><span class="hs-special">}</span><span>
</span><a name="line-768"></a><span>
</span><a name="line-769"></a><span class="hs-comment">-- ** Category</span><span>
</span><a name="line-770"></a><span class="hs-comment">-- | Category</span><span>
</span><a name="line-771"></a><span class="hs-keyword">data</span><span> </span><a name="Category"><a href="OpenAPIPetstore.Model.html#Category"><span class="hs-identifier">Category</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="Category"><a href="OpenAPIPetstore.Model.html#Category"><span class="hs-identifier">Category</span></a></a><span>
</span><a name="line-772"></a><span>  </span><span class="hs-special">{</span><span> </span><a name="categoryId"><a href="OpenAPIPetstore.Model.html#categoryId"><span class="hs-identifier">categoryId</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Integer</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;id&quot;</span><span>
</span><a name="line-773"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="categoryName"><a href="OpenAPIPetstore.Model.html#categoryName"><span class="hs-identifier">categoryName</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Text</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ /Required/ &quot;name&quot;</span><span>
</span><a name="line-774"></a><span>  </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Typeable</span><span class="hs-special">)</span><span>
</span><a name="line-775"></a><span>
</span><a name="line-776"></a><span class="hs-comment">-- | FromJSON Category</span><span>
</span><a name="line-777"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.FromJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#Category"><span class="hs-identifier hs-type">Category</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-778"></a><span>  </span><a name="local-8214565720323822289"><span class="hs-identifier">parseJSON</span></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">A.withObject</span><span> </span><span class="hs-string">&quot;Category&quot;</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-glyph">\</span><a name="local-6989586621679141575"><a href="#local-6989586621679141575"><span class="hs-identifier">o</span></a></a><span> </span><span class="hs-glyph">-&gt;</span><span>
</span><a name="line-779"></a><span>    </span><a href="OpenAPIPetstore.Model.html#Category"><span class="hs-identifier hs-var">Category</span></a><span>
</span><a name="line-780"></a><span>      </span><span class="hs-operator hs-var">&lt;$&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141575"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;id&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-781"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141575"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:</span><span>  </span><span class="hs-string">&quot;name&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-782"></a><span>
</span><a name="line-783"></a><span class="hs-comment">-- | ToJSON Category</span><span>
</span><a name="line-784"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.ToJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#Category"><span class="hs-identifier hs-type">Category</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-785"></a><span>  </span><a name="local-8214565720323804008"><span class="hs-identifier">toJSON</span></a><span> </span><a href="OpenAPIPetstore.Model.html#Category"><span class="hs-identifier hs-var">Category</span></a><span> </span><span class="hs-special">{</span><span class="hs-glyph">..</span><span class="hs-special">}</span><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-786"></a><span>   </span><a href="OpenAPIPetstore.Core.html#_omitNulls"><span class="hs-identifier hs-var">_omitNulls</span></a><span>
</span><a name="line-787"></a><span>      </span><span class="hs-special">[</span><span> </span><span class="hs-string">&quot;id&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141573"><span class="hs-identifier hs-var">categoryId</span></a><span>
</span><a name="line-788"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;name&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141574"><span class="hs-identifier hs-var">categoryName</span></a><span>
</span><a name="line-789"></a><span>      </span><span class="hs-special">]</span><span>
</span><a name="line-790"></a><span>
</span><a name="line-791"></a><span>
</span><a name="line-792"></a><span class="hs-comment">-- | Construct a value of type 'Category' (by applying it's required fields, if any)</span><span>
</span><a name="line-793"></a><span class="hs-identifier">mkCategory</span><span>
</span><a name="line-794"></a><span>  </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier hs-type">Text</span><span> </span><span class="hs-comment">-- ^ 'categoryName' </span><span>
</span><a name="line-795"></a><span>  </span><span class="hs-glyph">-&gt;</span><span> </span><a href="OpenAPIPetstore.Model.html#Category"><span class="hs-identifier hs-type">Category</span></a><span>
</span><a name="line-796"></a><a name="mkCategory"><a href="OpenAPIPetstore.Model.html#mkCategory"><span class="hs-identifier">mkCategory</span></a></a><span> </span><a name="local-6989586621679141632"><a href="#local-6989586621679141632"><span class="hs-identifier">categoryName</span></a></a><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-797"></a><span>  </span><a href="OpenAPIPetstore.Model.html#Category"><span class="hs-identifier hs-var">Category</span></a><span>
</span><a name="line-798"></a><span>  </span><span class="hs-special">{</span><span> </span><span class="hs-identifier">categoryId</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-799"></a><span>  </span><span class="hs-special">,</span><span> </span><a href="#local-6989586621679141632"><span class="hs-identifier hs-var">categoryName</span></a><span>
</span><a name="line-800"></a><span>  </span><span class="hs-special">}</span><span>
</span><a name="line-801"></a><span>
</span><a name="line-802"></a><span class="hs-comment">-- ** ClassModel</span><span>
</span><a name="line-803"></a><span class="hs-comment">-- | ClassModel</span><span>
</span><a name="line-804"></a><span class="hs-comment">-- Model for testing model with \&quot;_class\&quot; property</span><span>
</span><a name="line-805"></a><span class="hs-keyword">data</span><span> </span><a name="ClassModel"><a href="OpenAPIPetstore.Model.html#ClassModel"><span class="hs-identifier">ClassModel</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="ClassModel"><a href="OpenAPIPetstore.Model.html#ClassModel"><span class="hs-identifier">ClassModel</span></a></a><span>
</span><a name="line-806"></a><span>  </span><span class="hs-special">{</span><span> </span><a name="classModelClass"><a href="OpenAPIPetstore.Model.html#classModelClass"><span class="hs-identifier">classModelClass</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Text</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;_class&quot;</span><span>
</span><a name="line-807"></a><span>  </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Typeable</span><span class="hs-special">)</span><span>
</span><a name="line-808"></a><span>
</span><a name="line-809"></a><span class="hs-comment">-- | FromJSON ClassModel</span><span>
</span><a name="line-810"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.FromJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#ClassModel"><span class="hs-identifier hs-type">ClassModel</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-811"></a><span>  </span><a name="local-8214565720323822289"><span class="hs-identifier">parseJSON</span></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">A.withObject</span><span> </span><span class="hs-string">&quot;ClassModel&quot;</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-glyph">\</span><a name="local-6989586621679141572"><a href="#local-6989586621679141572"><span class="hs-identifier">o</span></a></a><span> </span><span class="hs-glyph">-&gt;</span><span>
</span><a name="line-812"></a><span>    </span><a href="OpenAPIPetstore.Model.html#ClassModel"><span class="hs-identifier hs-var">ClassModel</span></a><span>
</span><a name="line-813"></a><span>      </span><span class="hs-operator hs-var">&lt;$&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141572"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;_class&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-814"></a><span>
</span><a name="line-815"></a><span class="hs-comment">-- | ToJSON ClassModel</span><span>
</span><a name="line-816"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.ToJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#ClassModel"><span class="hs-identifier hs-type">ClassModel</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-817"></a><span>  </span><a name="local-8214565720323804008"><span class="hs-identifier">toJSON</span></a><span> </span><a href="OpenAPIPetstore.Model.html#ClassModel"><span class="hs-identifier hs-var">ClassModel</span></a><span> </span><span class="hs-special">{</span><span class="hs-glyph">..</span><span class="hs-special">}</span><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-818"></a><span>   </span><a href="OpenAPIPetstore.Core.html#_omitNulls"><span class="hs-identifier hs-var">_omitNulls</span></a><span>
</span><a name="line-819"></a><span>      </span><span class="hs-special">[</span><span> </span><span class="hs-string">&quot;_class&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141571"><span class="hs-identifier hs-var">classModelClass</span></a><span>
</span><a name="line-820"></a><span>      </span><span class="hs-special">]</span><span>
</span><a name="line-821"></a><span>
</span><a name="line-822"></a><span>
</span><a name="line-823"></a><span class="hs-comment">-- | Construct a value of type 'ClassModel' (by applying it's required fields, if any)</span><span>
</span><a name="line-824"></a><span class="hs-identifier">mkClassModel</span><span>
</span><a name="line-825"></a><span>  </span><span class="hs-glyph">::</span><span> </span><a href="OpenAPIPetstore.Model.html#ClassModel"><span class="hs-identifier hs-type">ClassModel</span></a><span>
</span><a name="line-826"></a><a name="mkClassModel"><a href="OpenAPIPetstore.Model.html#mkClassModel"><span class="hs-identifier">mkClassModel</span></a></a><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-827"></a><span>  </span><a href="OpenAPIPetstore.Model.html#ClassModel"><span class="hs-identifier hs-var">ClassModel</span></a><span>
</span><a name="line-828"></a><span>  </span><span class="hs-special">{</span><span> </span><span class="hs-identifier">classModelClass</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-829"></a><span>  </span><span class="hs-special">}</span><span>
</span><a name="line-830"></a><span>
</span><a name="line-831"></a><span class="hs-comment">-- ** Client</span><span>
</span><a name="line-832"></a><span class="hs-comment">-- | Client</span><span>
</span><a name="line-833"></a><span class="hs-keyword">data</span><span> </span><a name="Client"><a href="OpenAPIPetstore.Model.html#Client"><span class="hs-identifier">Client</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="Client"><a href="OpenAPIPetstore.Model.html#Client"><span class="hs-identifier">Client</span></a></a><span>
</span><a name="line-834"></a><span>  </span><span class="hs-special">{</span><span> </span><a name="clientClient"><a href="OpenAPIPetstore.Model.html#clientClient"><span class="hs-identifier">clientClient</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Text</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;client&quot;</span><span>
</span><a name="line-835"></a><span>  </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Typeable</span><span class="hs-special">)</span><span>
</span><a name="line-836"></a><span>
</span><a name="line-837"></a><span class="hs-comment">-- | FromJSON Client</span><span>
</span><a name="line-838"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.FromJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#Client"><span class="hs-identifier hs-type">Client</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-839"></a><span>  </span><a name="local-8214565720323822289"><span class="hs-identifier">parseJSON</span></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">A.withObject</span><span> </span><span class="hs-string">&quot;Client&quot;</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-glyph">\</span><a name="local-6989586621679141570"><a href="#local-6989586621679141570"><span class="hs-identifier">o</span></a></a><span> </span><span class="hs-glyph">-&gt;</span><span>
</span><a name="line-840"></a><span>    </span><a href="OpenAPIPetstore.Model.html#Client"><span class="hs-identifier hs-var">Client</span></a><span>
</span><a name="line-841"></a><span>      </span><span class="hs-operator hs-var">&lt;$&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141570"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;client&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-842"></a><span>
</span><a name="line-843"></a><span class="hs-comment">-- | ToJSON Client</span><span>
</span><a name="line-844"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.ToJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#Client"><span class="hs-identifier hs-type">Client</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-845"></a><span>  </span><a name="local-8214565720323804008"><span class="hs-identifier">toJSON</span></a><span> </span><a href="OpenAPIPetstore.Model.html#Client"><span class="hs-identifier hs-var">Client</span></a><span> </span><span class="hs-special">{</span><span class="hs-glyph">..</span><span class="hs-special">}</span><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-846"></a><span>   </span><a href="OpenAPIPetstore.Core.html#_omitNulls"><span class="hs-identifier hs-var">_omitNulls</span></a><span>
</span><a name="line-847"></a><span>      </span><span class="hs-special">[</span><span> </span><span class="hs-string">&quot;client&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141569"><span class="hs-identifier hs-var">clientClient</span></a><span>
</span><a name="line-848"></a><span>      </span><span class="hs-special">]</span><span>
</span><a name="line-849"></a><span>
</span><a name="line-850"></a><span>
</span><a name="line-851"></a><span class="hs-comment">-- | Construct a value of type 'Client' (by applying it's required fields, if any)</span><span>
</span><a name="line-852"></a><span class="hs-identifier">mkClient</span><span>
</span><a name="line-853"></a><span>  </span><span class="hs-glyph">::</span><span> </span><a href="OpenAPIPetstore.Model.html#Client"><span class="hs-identifier hs-type">Client</span></a><span>
</span><a name="line-854"></a><a name="mkClient"><a href="OpenAPIPetstore.Model.html#mkClient"><span class="hs-identifier">mkClient</span></a></a><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-855"></a><span>  </span><a href="OpenAPIPetstore.Model.html#Client"><span class="hs-identifier hs-var">Client</span></a><span>
</span><a name="line-856"></a><span>  </span><span class="hs-special">{</span><span> </span><span class="hs-identifier">clientClient</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-857"></a><span>  </span><span class="hs-special">}</span><span>
</span><a name="line-858"></a><span>
</span><a name="line-859"></a><span class="hs-comment">-- ** Dog</span><span>
</span><a name="line-860"></a><span class="hs-comment">-- | Dog</span><span>
</span><a name="line-861"></a><span class="hs-keyword">data</span><span> </span><a name="Dog"><a href="OpenAPIPetstore.Model.html#Dog"><span class="hs-identifier">Dog</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="Dog"><a href="OpenAPIPetstore.Model.html#Dog"><span class="hs-identifier">Dog</span></a></a><span>
</span><a name="line-862"></a><span>  </span><span class="hs-special">{</span><span> </span><a name="dogClassName"><a href="OpenAPIPetstore.Model.html#dogClassName"><span class="hs-identifier">dogClassName</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Text</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ /Required/ &quot;className&quot;</span><span>
</span><a name="line-863"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="dogColor"><a href="OpenAPIPetstore.Model.html#dogColor"><span class="hs-identifier">dogColor</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Text</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;color&quot;</span><span>
</span><a name="line-864"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="dogBreed"><a href="OpenAPIPetstore.Model.html#dogBreed"><span class="hs-identifier">dogBreed</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Text</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;breed&quot;</span><span>
</span><a name="line-865"></a><span>  </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Typeable</span><span class="hs-special">)</span><span>
</span><a name="line-866"></a><span>
</span><a name="line-867"></a><span class="hs-comment">-- | FromJSON Dog</span><span>
</span><a name="line-868"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.FromJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#Dog"><span class="hs-identifier hs-type">Dog</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-869"></a><span>  </span><a name="local-8214565720323822289"><span class="hs-identifier">parseJSON</span></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">A.withObject</span><span> </span><span class="hs-string">&quot;Dog&quot;</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-glyph">\</span><a name="local-6989586621679141568"><a href="#local-6989586621679141568"><span class="hs-identifier">o</span></a></a><span> </span><span class="hs-glyph">-&gt;</span><span>
</span><a name="line-870"></a><span>    </span><a href="OpenAPIPetstore.Model.html#Dog"><span class="hs-identifier hs-var">Dog</span></a><span>
</span><a name="line-871"></a><span>      </span><span class="hs-operator hs-var">&lt;$&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141568"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:</span><span>  </span><span class="hs-string">&quot;className&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-872"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141568"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;color&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-873"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141568"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;breed&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-874"></a><span>
</span><a name="line-875"></a><span class="hs-comment">-- | ToJSON Dog</span><span>
</span><a name="line-876"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.ToJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#Dog"><span class="hs-identifier hs-type">Dog</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-877"></a><span>  </span><a name="local-8214565720323804008"><span class="hs-identifier">toJSON</span></a><span> </span><a href="OpenAPIPetstore.Model.html#Dog"><span class="hs-identifier hs-var">Dog</span></a><span> </span><span class="hs-special">{</span><span class="hs-glyph">..</span><span class="hs-special">}</span><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-878"></a><span>   </span><a href="OpenAPIPetstore.Core.html#_omitNulls"><span class="hs-identifier hs-var">_omitNulls</span></a><span>
</span><a name="line-879"></a><span>      </span><span class="hs-special">[</span><span> </span><span class="hs-string">&quot;className&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141565"><span class="hs-identifier hs-var">dogClassName</span></a><span>
</span><a name="line-880"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;color&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141566"><span class="hs-identifier hs-var">dogColor</span></a><span>
</span><a name="line-881"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;breed&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141567"><span class="hs-identifier hs-var">dogBreed</span></a><span>
</span><a name="line-882"></a><span>      </span><span class="hs-special">]</span><span>
</span><a name="line-883"></a><span>
</span><a name="line-884"></a><span>
</span><a name="line-885"></a><span class="hs-comment">-- | Construct a value of type 'Dog' (by applying it's required fields, if any)</span><span>
</span><a name="line-886"></a><span class="hs-identifier">mkDog</span><span>
</span><a name="line-887"></a><span>  </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier hs-type">Text</span><span> </span><span class="hs-comment">-- ^ 'dogClassName' </span><span>
</span><a name="line-888"></a><span>  </span><span class="hs-glyph">-&gt;</span><span> </span><a href="OpenAPIPetstore.Model.html#Dog"><span class="hs-identifier hs-type">Dog</span></a><span>
</span><a name="line-889"></a><a name="mkDog"><a href="OpenAPIPetstore.Model.html#mkDog"><span class="hs-identifier">mkDog</span></a></a><span> </span><a name="local-6989586621679141633"><a href="#local-6989586621679141633"><span class="hs-identifier">dogClassName</span></a></a><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-890"></a><span>  </span><a href="OpenAPIPetstore.Model.html#Dog"><span class="hs-identifier hs-var">Dog</span></a><span>
</span><a name="line-891"></a><span>  </span><span class="hs-special">{</span><span> </span><a href="#local-6989586621679141633"><span class="hs-identifier hs-var">dogClassName</span></a><span>
</span><a name="line-892"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">dogColor</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-893"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">dogBreed</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-894"></a><span>  </span><span class="hs-special">}</span><span>
</span><a name="line-895"></a><span>
</span><a name="line-896"></a><span class="hs-comment">-- ** DogAllOf</span><span>
</span><a name="line-897"></a><span class="hs-comment">-- | DogAllOf</span><span>
</span><a name="line-898"></a><span class="hs-keyword">data</span><span> </span><a name="DogAllOf"><a href="OpenAPIPetstore.Model.html#DogAllOf"><span class="hs-identifier">DogAllOf</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="DogAllOf"><a href="OpenAPIPetstore.Model.html#DogAllOf"><span class="hs-identifier">DogAllOf</span></a></a><span>
</span><a name="line-899"></a><span>  </span><span class="hs-special">{</span><span> </span><a name="dogAllOfBreed"><a href="OpenAPIPetstore.Model.html#dogAllOfBreed"><span class="hs-identifier">dogAllOfBreed</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Text</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;breed&quot;</span><span>
</span><a name="line-900"></a><span>  </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Typeable</span><span class="hs-special">)</span><span>
</span><a name="line-901"></a><span>
</span><a name="line-902"></a><span class="hs-comment">-- | FromJSON DogAllOf</span><span>
</span><a name="line-903"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.FromJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#DogAllOf"><span class="hs-identifier hs-type">DogAllOf</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-904"></a><span>  </span><a name="local-8214565720323822289"><span class="hs-identifier">parseJSON</span></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">A.withObject</span><span> </span><span class="hs-string">&quot;DogAllOf&quot;</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-glyph">\</span><a name="local-6989586621679141564"><a href="#local-6989586621679141564"><span class="hs-identifier">o</span></a></a><span> </span><span class="hs-glyph">-&gt;</span><span>
</span><a name="line-905"></a><span>    </span><a href="OpenAPIPetstore.Model.html#DogAllOf"><span class="hs-identifier hs-var">DogAllOf</span></a><span>
</span><a name="line-906"></a><span>      </span><span class="hs-operator hs-var">&lt;$&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141564"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;breed&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-907"></a><span>
</span><a name="line-908"></a><span class="hs-comment">-- | ToJSON DogAllOf</span><span>
</span><a name="line-909"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.ToJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#DogAllOf"><span class="hs-identifier hs-type">DogAllOf</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-910"></a><span>  </span><a name="local-8214565720323804008"><span class="hs-identifier">toJSON</span></a><span> </span><a href="OpenAPIPetstore.Model.html#DogAllOf"><span class="hs-identifier hs-var">DogAllOf</span></a><span> </span><span class="hs-special">{</span><span class="hs-glyph">..</span><span class="hs-special">}</span><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-911"></a><span>   </span><a href="OpenAPIPetstore.Core.html#_omitNulls"><span class="hs-identifier hs-var">_omitNulls</span></a><span>
</span><a name="line-912"></a><span>      </span><span class="hs-special">[</span><span> </span><span class="hs-string">&quot;breed&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141563"><span class="hs-identifier hs-var">dogAllOfBreed</span></a><span>
</span><a name="line-913"></a><span>      </span><span class="hs-special">]</span><span>
</span><a name="line-914"></a><span>
</span><a name="line-915"></a><span>
</span><a name="line-916"></a><span class="hs-comment">-- | Construct a value of type 'DogAllOf' (by applying it's required fields, if any)</span><span>
</span><a name="line-917"></a><span class="hs-identifier">mkDogAllOf</span><span>
</span><a name="line-918"></a><span>  </span><span class="hs-glyph">::</span><span> </span><a href="OpenAPIPetstore.Model.html#DogAllOf"><span class="hs-identifier hs-type">DogAllOf</span></a><span>
</span><a name="line-919"></a><a name="mkDogAllOf"><a href="OpenAPIPetstore.Model.html#mkDogAllOf"><span class="hs-identifier">mkDogAllOf</span></a></a><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-920"></a><span>  </span><a href="OpenAPIPetstore.Model.html#DogAllOf"><span class="hs-identifier hs-var">DogAllOf</span></a><span>
</span><a name="line-921"></a><span>  </span><span class="hs-special">{</span><span> </span><span class="hs-identifier">dogAllOfBreed</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-922"></a><span>  </span><span class="hs-special">}</span><span>
</span><a name="line-923"></a><span>
</span><a name="line-924"></a><span class="hs-comment">-- ** EnumArrays</span><span>
</span><a name="line-925"></a><span class="hs-comment">-- | EnumArrays</span><span>
</span><a name="line-926"></a><span class="hs-keyword">data</span><span> </span><a name="EnumArrays"><a href="OpenAPIPetstore.Model.html#EnumArrays"><span class="hs-identifier">EnumArrays</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="EnumArrays"><a href="OpenAPIPetstore.Model.html#EnumArrays"><span class="hs-identifier">EnumArrays</span></a></a><span>
</span><a name="line-927"></a><span>  </span><span class="hs-special">{</span><span> </span><a name="enumArraysJustSymbol"><a href="OpenAPIPetstore.Model.html#enumArraysJustSymbol"><span class="hs-identifier">enumArraysJustSymbol</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27JustSymbol"><span class="hs-identifier hs-type">E'JustSymbol</span></a><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;just_symbol&quot;</span><span>
</span><a name="line-928"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="enumArraysArrayEnum"><a href="OpenAPIPetstore.Model.html#enumArraysArrayEnum"><span class="hs-identifier">enumArraysArrayEnum</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-special">[</span><a href="OpenAPIPetstore.Model.html#E%27ArrayEnum"><span class="hs-identifier hs-type">E'ArrayEnum</span></a><span class="hs-special">]</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;array_enum&quot;</span><span>
</span><a name="line-929"></a><span>  </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Typeable</span><span class="hs-special">)</span><span>
</span><a name="line-930"></a><span>
</span><a name="line-931"></a><span class="hs-comment">-- | FromJSON EnumArrays</span><span>
</span><a name="line-932"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.FromJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#EnumArrays"><span class="hs-identifier hs-type">EnumArrays</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-933"></a><span>  </span><a name="local-8214565720323822289"><span class="hs-identifier">parseJSON</span></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">A.withObject</span><span> </span><span class="hs-string">&quot;EnumArrays&quot;</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-glyph">\</span><a name="local-6989586621679141562"><a href="#local-6989586621679141562"><span class="hs-identifier">o</span></a></a><span> </span><span class="hs-glyph">-&gt;</span><span>
</span><a name="line-934"></a><span>    </span><a href="OpenAPIPetstore.Model.html#EnumArrays"><span class="hs-identifier hs-var">EnumArrays</span></a><span>
</span><a name="line-935"></a><span>      </span><span class="hs-operator hs-var">&lt;$&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141562"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;just_symbol&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-936"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141562"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;array_enum&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-937"></a><span>
</span><a name="line-938"></a><span class="hs-comment">-- | ToJSON EnumArrays</span><span>
</span><a name="line-939"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.ToJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#EnumArrays"><span class="hs-identifier hs-type">EnumArrays</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-940"></a><span>  </span><a name="local-8214565720323804008"><span class="hs-identifier">toJSON</span></a><span> </span><a href="OpenAPIPetstore.Model.html#EnumArrays"><span class="hs-identifier hs-var">EnumArrays</span></a><span> </span><span class="hs-special">{</span><span class="hs-glyph">..</span><span class="hs-special">}</span><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-941"></a><span>   </span><a href="OpenAPIPetstore.Core.html#_omitNulls"><span class="hs-identifier hs-var">_omitNulls</span></a><span>
</span><a name="line-942"></a><span>      </span><span class="hs-special">[</span><span> </span><span class="hs-string">&quot;just_symbol&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141560"><span class="hs-identifier hs-var">enumArraysJustSymbol</span></a><span>
</span><a name="line-943"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;array_enum&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141561"><span class="hs-identifier hs-var">enumArraysArrayEnum</span></a><span>
</span><a name="line-944"></a><span>      </span><span class="hs-special">]</span><span>
</span><a name="line-945"></a><span>
</span><a name="line-946"></a><span>
</span><a name="line-947"></a><span class="hs-comment">-- | Construct a value of type 'EnumArrays' (by applying it's required fields, if any)</span><span>
</span><a name="line-948"></a><span class="hs-identifier">mkEnumArrays</span><span>
</span><a name="line-949"></a><span>  </span><span class="hs-glyph">::</span><span> </span><a href="OpenAPIPetstore.Model.html#EnumArrays"><span class="hs-identifier hs-type">EnumArrays</span></a><span>
</span><a name="line-950"></a><a name="mkEnumArrays"><a href="OpenAPIPetstore.Model.html#mkEnumArrays"><span class="hs-identifier">mkEnumArrays</span></a></a><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-951"></a><span>  </span><a href="OpenAPIPetstore.Model.html#EnumArrays"><span class="hs-identifier hs-var">EnumArrays</span></a><span>
</span><a name="line-952"></a><span>  </span><span class="hs-special">{</span><span> </span><span class="hs-identifier">enumArraysJustSymbol</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-953"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">enumArraysArrayEnum</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-954"></a><span>  </span><span class="hs-special">}</span><span>
</span><a name="line-955"></a><span>
</span><a name="line-956"></a><span class="hs-comment">-- ** EnumTest</span><span>
</span><a name="line-957"></a><span class="hs-comment">-- | EnumTest</span><span>
</span><a name="line-958"></a><span class="hs-keyword">data</span><span> </span><a name="EnumTest"><a href="OpenAPIPetstore.Model.html#EnumTest"><span class="hs-identifier">EnumTest</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="EnumTest"><a href="OpenAPIPetstore.Model.html#EnumTest"><span class="hs-identifier">EnumTest</span></a></a><span>
</span><a name="line-959"></a><span>  </span><span class="hs-special">{</span><span> </span><a name="enumTestEnumString"><a href="OpenAPIPetstore.Model.html#enumTestEnumString"><span class="hs-identifier">enumTestEnumString</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27EnumString"><span class="hs-identifier hs-type">E'EnumString</span></a><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;enum_string&quot;</span><span>
</span><a name="line-960"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="enumTestEnumStringRequired"><a href="OpenAPIPetstore.Model.html#enumTestEnumStringRequired"><span class="hs-identifier">enumTestEnumStringRequired</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><a href="OpenAPIPetstore.Model.html#E%27EnumString"><span class="hs-identifier hs-type">E'EnumString</span></a><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ /Required/ &quot;enum_string_required&quot;</span><span>
</span><a name="line-961"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="enumTestEnumInteger"><a href="OpenAPIPetstore.Model.html#enumTestEnumInteger"><span class="hs-identifier">enumTestEnumInteger</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27EnumInteger"><span class="hs-identifier hs-type">E'EnumInteger</span></a><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;enum_integer&quot;</span><span>
</span><a name="line-962"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="enumTestEnumNumber"><a href="OpenAPIPetstore.Model.html#enumTestEnumNumber"><span class="hs-identifier">enumTestEnumNumber</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27EnumNumber"><span class="hs-identifier hs-type">E'EnumNumber</span></a><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;enum_number&quot;</span><span>
</span><a name="line-963"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="enumTestOuterEnum"><a href="OpenAPIPetstore.Model.html#enumTestOuterEnum"><span class="hs-identifier">enumTestOuterEnum</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><a href="OpenAPIPetstore.Model.html#OuterEnum"><span class="hs-identifier hs-type">OuterEnum</span></a><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;outerEnum&quot;</span><span>
</span><a name="line-964"></a><span>  </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Typeable</span><span class="hs-special">)</span><span>
</span><a name="line-965"></a><span>
</span><a name="line-966"></a><span class="hs-comment">-- | FromJSON EnumTest</span><span>
</span><a name="line-967"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.FromJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#EnumTest"><span class="hs-identifier hs-type">EnumTest</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-968"></a><span>  </span><a name="local-8214565720323822289"><span class="hs-identifier">parseJSON</span></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">A.withObject</span><span> </span><span class="hs-string">&quot;EnumTest&quot;</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-glyph">\</span><a name="local-6989586621679141559"><a href="#local-6989586621679141559"><span class="hs-identifier">o</span></a></a><span> </span><span class="hs-glyph">-&gt;</span><span>
</span><a name="line-969"></a><span>    </span><a href="OpenAPIPetstore.Model.html#EnumTest"><span class="hs-identifier hs-var">EnumTest</span></a><span>
</span><a name="line-970"></a><span>      </span><span class="hs-operator hs-var">&lt;$&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141559"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;enum_string&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-971"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141559"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:</span><span>  </span><span class="hs-string">&quot;enum_string_required&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-972"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141559"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;enum_integer&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-973"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141559"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;enum_number&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-974"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141559"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;outerEnum&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-975"></a><span>
</span><a name="line-976"></a><span class="hs-comment">-- | ToJSON EnumTest</span><span>
</span><a name="line-977"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.ToJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#EnumTest"><span class="hs-identifier hs-type">EnumTest</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-978"></a><span>  </span><a name="local-8214565720323804008"><span class="hs-identifier">toJSON</span></a><span> </span><a href="OpenAPIPetstore.Model.html#EnumTest"><span class="hs-identifier hs-var">EnumTest</span></a><span> </span><span class="hs-special">{</span><span class="hs-glyph">..</span><span class="hs-special">}</span><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-979"></a><span>   </span><a href="OpenAPIPetstore.Core.html#_omitNulls"><span class="hs-identifier hs-var">_omitNulls</span></a><span>
</span><a name="line-980"></a><span>      </span><span class="hs-special">[</span><span> </span><span class="hs-string">&quot;enum_string&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141554"><span class="hs-identifier hs-var">enumTestEnumString</span></a><span>
</span><a name="line-981"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;enum_string_required&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141555"><span class="hs-identifier hs-var">enumTestEnumStringRequired</span></a><span>
</span><a name="line-982"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;enum_integer&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141556"><span class="hs-identifier hs-var">enumTestEnumInteger</span></a><span>
</span><a name="line-983"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;enum_number&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141557"><span class="hs-identifier hs-var">enumTestEnumNumber</span></a><span>
</span><a name="line-984"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;outerEnum&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141558"><span class="hs-identifier hs-var">enumTestOuterEnum</span></a><span>
</span><a name="line-985"></a><span>      </span><span class="hs-special">]</span><span>
</span><a name="line-986"></a><span>
</span><a name="line-987"></a><span>
</span><a name="line-988"></a><span class="hs-comment">-- | Construct a value of type 'EnumTest' (by applying it's required fields, if any)</span><span>
</span><a name="line-989"></a><span class="hs-identifier">mkEnumTest</span><span>
</span><a name="line-990"></a><span>  </span><span class="hs-glyph">::</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27EnumString"><span class="hs-identifier hs-type">E'EnumString</span></a><span> </span><span class="hs-comment">-- ^ 'enumTestEnumStringRequired' </span><span>
</span><a name="line-991"></a><span>  </span><span class="hs-glyph">-&gt;</span><span> </span><a href="OpenAPIPetstore.Model.html#EnumTest"><span class="hs-identifier hs-type">EnumTest</span></a><span>
</span><a name="line-992"></a><a name="mkEnumTest"><a href="OpenAPIPetstore.Model.html#mkEnumTest"><span class="hs-identifier">mkEnumTest</span></a></a><span> </span><a name="local-6989586621679141634"><a href="#local-6989586621679141634"><span class="hs-identifier">enumTestEnumStringRequired</span></a></a><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-993"></a><span>  </span><a href="OpenAPIPetstore.Model.html#EnumTest"><span class="hs-identifier hs-var">EnumTest</span></a><span>
</span><a name="line-994"></a><span>  </span><span class="hs-special">{</span><span> </span><span class="hs-identifier">enumTestEnumString</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-995"></a><span>  </span><span class="hs-special">,</span><span> </span><a href="#local-6989586621679141634"><span class="hs-identifier hs-var">enumTestEnumStringRequired</span></a><span>
</span><a name="line-996"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">enumTestEnumInteger</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-997"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">enumTestEnumNumber</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-998"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">enumTestOuterEnum</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-999"></a><span>  </span><span class="hs-special">}</span><span>
</span><a name="line-1000"></a><span>
</span><a name="line-1001"></a><span class="hs-comment">-- ** File</span><span>
</span><a name="line-1002"></a><span class="hs-comment">-- | File</span><span>
</span><a name="line-1003"></a><span class="hs-comment">-- Must be named `File` for test.</span><span>
</span><a name="line-1004"></a><span class="hs-keyword">data</span><span> </span><a name="File"><a href="OpenAPIPetstore.Model.html#File"><span class="hs-identifier">File</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="File"><a href="OpenAPIPetstore.Model.html#File"><span class="hs-identifier">File</span></a></a><span>
</span><a name="line-1005"></a><span>  </span><span class="hs-special">{</span><span> </span><a name="fileSourceUri"><a href="OpenAPIPetstore.Model.html#fileSourceUri"><span class="hs-identifier">fileSourceUri</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Text</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;sourceURI&quot; - Test capitalization</span><span>
</span><a name="line-1006"></a><span>  </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Typeable</span><span class="hs-special">)</span><span>
</span><a name="line-1007"></a><span>
</span><a name="line-1008"></a><span class="hs-comment">-- | FromJSON File</span><span>
</span><a name="line-1009"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.FromJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#File"><span class="hs-identifier hs-type">File</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-1010"></a><span>  </span><a name="local-8214565720323822289"><span class="hs-identifier">parseJSON</span></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">A.withObject</span><span> </span><span class="hs-string">&quot;File&quot;</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-glyph">\</span><a name="local-6989586621679141553"><a href="#local-6989586621679141553"><span class="hs-identifier">o</span></a></a><span> </span><span class="hs-glyph">-&gt;</span><span>
</span><a name="line-1011"></a><span>    </span><a href="OpenAPIPetstore.Model.html#File"><span class="hs-identifier hs-var">File</span></a><span>
</span><a name="line-1012"></a><span>      </span><span class="hs-operator hs-var">&lt;$&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141553"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;sourceURI&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1013"></a><span>
</span><a name="line-1014"></a><span class="hs-comment">-- | ToJSON File</span><span>
</span><a name="line-1015"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.ToJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#File"><span class="hs-identifier hs-type">File</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-1016"></a><span>  </span><a name="local-8214565720323804008"><span class="hs-identifier">toJSON</span></a><span> </span><a href="OpenAPIPetstore.Model.html#File"><span class="hs-identifier hs-var">File</span></a><span> </span><span class="hs-special">{</span><span class="hs-glyph">..</span><span class="hs-special">}</span><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-1017"></a><span>   </span><a href="OpenAPIPetstore.Core.html#_omitNulls"><span class="hs-identifier hs-var">_omitNulls</span></a><span>
</span><a name="line-1018"></a><span>      </span><span class="hs-special">[</span><span> </span><span class="hs-string">&quot;sourceURI&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141552"><span class="hs-identifier hs-var">fileSourceUri</span></a><span>
</span><a name="line-1019"></a><span>      </span><span class="hs-special">]</span><span>
</span><a name="line-1020"></a><span>
</span><a name="line-1021"></a><span>
</span><a name="line-1022"></a><span class="hs-comment">-- | Construct a value of type 'File' (by applying it's required fields, if any)</span><span>
</span><a name="line-1023"></a><span class="hs-identifier">mkFile</span><span>
</span><a name="line-1024"></a><span>  </span><span class="hs-glyph">::</span><span> </span><a href="OpenAPIPetstore.Model.html#File"><span class="hs-identifier hs-type">File</span></a><span>
</span><a name="line-1025"></a><a name="mkFile"><a href="OpenAPIPetstore.Model.html#mkFile"><span class="hs-identifier">mkFile</span></a></a><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-1026"></a><span>  </span><a href="OpenAPIPetstore.Model.html#File"><span class="hs-identifier hs-var">File</span></a><span>
</span><a name="line-1027"></a><span>  </span><span class="hs-special">{</span><span> </span><span class="hs-identifier">fileSourceUri</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1028"></a><span>  </span><span class="hs-special">}</span><span>
</span><a name="line-1029"></a><span>
</span><a name="line-1030"></a><span class="hs-comment">-- ** FileSchemaTestClass</span><span>
</span><a name="line-1031"></a><span class="hs-comment">-- | FileSchemaTestClass</span><span>
</span><a name="line-1032"></a><span class="hs-keyword">data</span><span> </span><a name="FileSchemaTestClass"><a href="OpenAPIPetstore.Model.html#FileSchemaTestClass"><span class="hs-identifier">FileSchemaTestClass</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="FileSchemaTestClass"><a href="OpenAPIPetstore.Model.html#FileSchemaTestClass"><span class="hs-identifier">FileSchemaTestClass</span></a></a><span>
</span><a name="line-1033"></a><span>  </span><span class="hs-special">{</span><span> </span><a name="fileSchemaTestClassFile"><a href="OpenAPIPetstore.Model.html#fileSchemaTestClassFile"><span class="hs-identifier">fileSchemaTestClassFile</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><a href="OpenAPIPetstore.Model.html#File"><span class="hs-identifier hs-type">File</span></a><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;file&quot;</span><span>
</span><a name="line-1034"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="fileSchemaTestClassFiles"><a href="OpenAPIPetstore.Model.html#fileSchemaTestClassFiles"><span class="hs-identifier">fileSchemaTestClassFiles</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-special">[</span><a href="OpenAPIPetstore.Model.html#File"><span class="hs-identifier hs-type">File</span></a><span class="hs-special">]</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;files&quot;</span><span>
</span><a name="line-1035"></a><span>  </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Typeable</span><span class="hs-special">)</span><span>
</span><a name="line-1036"></a><span>
</span><a name="line-1037"></a><span class="hs-comment">-- | FromJSON FileSchemaTestClass</span><span>
</span><a name="line-1038"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.FromJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#FileSchemaTestClass"><span class="hs-identifier hs-type">FileSchemaTestClass</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-1039"></a><span>  </span><a name="local-8214565720323822289"><span class="hs-identifier">parseJSON</span></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">A.withObject</span><span> </span><span class="hs-string">&quot;FileSchemaTestClass&quot;</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-glyph">\</span><a name="local-6989586621679141551"><a href="#local-6989586621679141551"><span class="hs-identifier">o</span></a></a><span> </span><span class="hs-glyph">-&gt;</span><span>
</span><a name="line-1040"></a><span>    </span><a href="OpenAPIPetstore.Model.html#FileSchemaTestClass"><span class="hs-identifier hs-var">FileSchemaTestClass</span></a><span>
</span><a name="line-1041"></a><span>      </span><span class="hs-operator hs-var">&lt;$&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141551"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;file&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1042"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141551"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;files&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1043"></a><span>
</span><a name="line-1044"></a><span class="hs-comment">-- | ToJSON FileSchemaTestClass</span><span>
</span><a name="line-1045"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.ToJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#FileSchemaTestClass"><span class="hs-identifier hs-type">FileSchemaTestClass</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-1046"></a><span>  </span><a name="local-8214565720323804008"><span class="hs-identifier">toJSON</span></a><span> </span><a href="OpenAPIPetstore.Model.html#FileSchemaTestClass"><span class="hs-identifier hs-var">FileSchemaTestClass</span></a><span> </span><span class="hs-special">{</span><span class="hs-glyph">..</span><span class="hs-special">}</span><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-1047"></a><span>   </span><a href="OpenAPIPetstore.Core.html#_omitNulls"><span class="hs-identifier hs-var">_omitNulls</span></a><span>
</span><a name="line-1048"></a><span>      </span><span class="hs-special">[</span><span> </span><span class="hs-string">&quot;file&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141549"><span class="hs-identifier hs-var">fileSchemaTestClassFile</span></a><span>
</span><a name="line-1049"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;files&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141550"><span class="hs-identifier hs-var">fileSchemaTestClassFiles</span></a><span>
</span><a name="line-1050"></a><span>      </span><span class="hs-special">]</span><span>
</span><a name="line-1051"></a><span>
</span><a name="line-1052"></a><span>
</span><a name="line-1053"></a><span class="hs-comment">-- | Construct a value of type 'FileSchemaTestClass' (by applying it's required fields, if any)</span><span>
</span><a name="line-1054"></a><span class="hs-identifier">mkFileSchemaTestClass</span><span>
</span><a name="line-1055"></a><span>  </span><span class="hs-glyph">::</span><span> </span><a href="OpenAPIPetstore.Model.html#FileSchemaTestClass"><span class="hs-identifier hs-type">FileSchemaTestClass</span></a><span>
</span><a name="line-1056"></a><a name="mkFileSchemaTestClass"><a href="OpenAPIPetstore.Model.html#mkFileSchemaTestClass"><span class="hs-identifier">mkFileSchemaTestClass</span></a></a><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-1057"></a><span>  </span><a href="OpenAPIPetstore.Model.html#FileSchemaTestClass"><span class="hs-identifier hs-var">FileSchemaTestClass</span></a><span>
</span><a name="line-1058"></a><span>  </span><span class="hs-special">{</span><span> </span><span class="hs-identifier">fileSchemaTestClassFile</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1059"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">fileSchemaTestClassFiles</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1060"></a><span>  </span><span class="hs-special">}</span><span>
</span><a name="line-1061"></a><span>
</span><a name="line-1062"></a><span class="hs-comment">-- ** FormatTest</span><span>
</span><a name="line-1063"></a><span class="hs-comment">-- | FormatTest</span><span>
</span><a name="line-1064"></a><span class="hs-keyword">data</span><span> </span><a name="FormatTest"><a href="OpenAPIPetstore.Model.html#FormatTest"><span class="hs-identifier">FormatTest</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="FormatTest"><a href="OpenAPIPetstore.Model.html#FormatTest"><span class="hs-identifier">FormatTest</span></a></a><span>
</span><a name="line-1065"></a><span>  </span><span class="hs-special">{</span><span> </span><a name="formatTestInteger"><a href="OpenAPIPetstore.Model.html#formatTestInteger"><span class="hs-identifier">formatTestInteger</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Int</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;integer&quot;</span><span>
</span><a name="line-1066"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="formatTestInt32"><a href="OpenAPIPetstore.Model.html#formatTestInt32"><span class="hs-identifier">formatTestInt32</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Int</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;int32&quot;</span><span>
</span><a name="line-1067"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="formatTestInt64"><a href="OpenAPIPetstore.Model.html#formatTestInt64"><span class="hs-identifier">formatTestInt64</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Integer</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;int64&quot;</span><span>
</span><a name="line-1068"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="formatTestNumber"><a href="OpenAPIPetstore.Model.html#formatTestNumber"><span class="hs-identifier">formatTestNumber</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Double</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ /Required/ &quot;number&quot;</span><span>
</span><a name="line-1069"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="formatTestFloat"><a href="OpenAPIPetstore.Model.html#formatTestFloat"><span class="hs-identifier">formatTestFloat</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Float</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;float&quot;</span><span>
</span><a name="line-1070"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="formatTestDouble"><a href="OpenAPIPetstore.Model.html#formatTestDouble"><span class="hs-identifier">formatTestDouble</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Double</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;double&quot;</span><span>
</span><a name="line-1071"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="formatTestString"><a href="OpenAPIPetstore.Model.html#formatTestString"><span class="hs-identifier">formatTestString</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Text</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;string&quot;</span><span>
</span><a name="line-1072"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="formatTestByte"><a href="OpenAPIPetstore.Model.html#formatTestByte"><span class="hs-identifier">formatTestByte</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><a href="OpenAPIPetstore.Core.html#ByteArray"><span class="hs-identifier hs-type">ByteArray</span></a><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ /Required/ &quot;byte&quot;</span><span>
</span><a name="line-1073"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="formatTestBinary"><a href="OpenAPIPetstore.Model.html#formatTestBinary"><span class="hs-identifier">formatTestBinary</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">FilePath</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;binary&quot;</span><span>
</span><a name="line-1074"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="formatTestDate"><a href="OpenAPIPetstore.Model.html#formatTestDate"><span class="hs-identifier">formatTestDate</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><a href="OpenAPIPetstore.Core.html#Date"><span class="hs-identifier hs-type">Date</span></a><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ /Required/ &quot;date&quot;</span><span>
</span><a name="line-1075"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="formatTestDateTime"><a href="OpenAPIPetstore.Model.html#formatTestDateTime"><span class="hs-identifier">formatTestDateTime</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><a href="OpenAPIPetstore.Core.html#DateTime"><span class="hs-identifier hs-type">DateTime</span></a><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;dateTime&quot;</span><span>
</span><a name="line-1076"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="formatTestUuid"><a href="OpenAPIPetstore.Model.html#formatTestUuid"><span class="hs-identifier">formatTestUuid</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Text</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;uuid&quot;</span><span>
</span><a name="line-1077"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="formatTestPassword"><a href="OpenAPIPetstore.Model.html#formatTestPassword"><span class="hs-identifier">formatTestPassword</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Text</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ /Required/ &quot;password&quot;</span><span>
</span><a name="line-1078"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="formatTestBigDecimal"><a href="OpenAPIPetstore.Model.html#formatTestBigDecimal"><span class="hs-identifier">formatTestBigDecimal</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Double</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;BigDecimal&quot;</span><span>
</span><a name="line-1079"></a><span>  </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Typeable</span><span class="hs-special">)</span><span>
</span><a name="line-1080"></a><span>
</span><a name="line-1081"></a><span class="hs-comment">-- | FromJSON FormatTest</span><span>
</span><a name="line-1082"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.FromJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#FormatTest"><span class="hs-identifier hs-type">FormatTest</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-1083"></a><span>  </span><a name="local-8214565720323822289"><span class="hs-identifier">parseJSON</span></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">A.withObject</span><span> </span><span class="hs-string">&quot;FormatTest&quot;</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-glyph">\</span><a name="local-6989586621679141548"><a href="#local-6989586621679141548"><span class="hs-identifier">o</span></a></a><span> </span><span class="hs-glyph">-&gt;</span><span>
</span><a name="line-1084"></a><span>    </span><a href="OpenAPIPetstore.Model.html#FormatTest"><span class="hs-identifier hs-var">FormatTest</span></a><span>
</span><a name="line-1085"></a><span>      </span><span class="hs-operator hs-var">&lt;$&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141548"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;integer&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1086"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141548"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;int32&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1087"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141548"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;int64&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1088"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141548"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:</span><span>  </span><span class="hs-string">&quot;number&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1089"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141548"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;float&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1090"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141548"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;double&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1091"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141548"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;string&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1092"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141548"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:</span><span>  </span><span class="hs-string">&quot;byte&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1093"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141548"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;binary&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1094"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141548"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:</span><span>  </span><span class="hs-string">&quot;date&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1095"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141548"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;dateTime&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1096"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141548"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;uuid&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1097"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141548"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:</span><span>  </span><span class="hs-string">&quot;password&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1098"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141548"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;BigDecimal&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1099"></a><span>
</span><a name="line-1100"></a><span class="hs-comment">-- | ToJSON FormatTest</span><span>
</span><a name="line-1101"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.ToJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#FormatTest"><span class="hs-identifier hs-type">FormatTest</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-1102"></a><span>  </span><a name="local-8214565720323804008"><span class="hs-identifier">toJSON</span></a><span> </span><a href="OpenAPIPetstore.Model.html#FormatTest"><span class="hs-identifier hs-var">FormatTest</span></a><span> </span><span class="hs-special">{</span><span class="hs-glyph">..</span><span class="hs-special">}</span><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-1103"></a><span>   </span><a href="OpenAPIPetstore.Core.html#_omitNulls"><span class="hs-identifier hs-var">_omitNulls</span></a><span>
</span><a name="line-1104"></a><span>      </span><span class="hs-special">[</span><span> </span><span class="hs-string">&quot;integer&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141534"><span class="hs-identifier hs-var">formatTestInteger</span></a><span>
</span><a name="line-1105"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;int32&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141535"><span class="hs-identifier hs-var">formatTestInt32</span></a><span>
</span><a name="line-1106"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;int64&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141536"><span class="hs-identifier hs-var">formatTestInt64</span></a><span>
</span><a name="line-1107"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;number&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141537"><span class="hs-identifier hs-var">formatTestNumber</span></a><span>
</span><a name="line-1108"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;float&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141538"><span class="hs-identifier hs-var">formatTestFloat</span></a><span>
</span><a name="line-1109"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;double&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141539"><span class="hs-identifier hs-var">formatTestDouble</span></a><span>
</span><a name="line-1110"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;string&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141540"><span class="hs-identifier hs-var">formatTestString</span></a><span>
</span><a name="line-1111"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;byte&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141541"><span class="hs-identifier hs-var">formatTestByte</span></a><span>
</span><a name="line-1112"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;binary&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141542"><span class="hs-identifier hs-var">formatTestBinary</span></a><span>
</span><a name="line-1113"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;date&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141543"><span class="hs-identifier hs-var">formatTestDate</span></a><span>
</span><a name="line-1114"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;dateTime&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141544"><span class="hs-identifier hs-var">formatTestDateTime</span></a><span>
</span><a name="line-1115"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;uuid&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141545"><span class="hs-identifier hs-var">formatTestUuid</span></a><span>
</span><a name="line-1116"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;password&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141546"><span class="hs-identifier hs-var">formatTestPassword</span></a><span>
</span><a name="line-1117"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;BigDecimal&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141547"><span class="hs-identifier hs-var">formatTestBigDecimal</span></a><span>
</span><a name="line-1118"></a><span>      </span><span class="hs-special">]</span><span>
</span><a name="line-1119"></a><span>
</span><a name="line-1120"></a><span>
</span><a name="line-1121"></a><span class="hs-comment">-- | Construct a value of type 'FormatTest' (by applying it's required fields, if any)</span><span>
</span><a name="line-1122"></a><span class="hs-identifier">mkFormatTest</span><span>
</span><a name="line-1123"></a><span>  </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier hs-type">Double</span><span> </span><span class="hs-comment">-- ^ 'formatTestNumber' </span><span>
</span><a name="line-1124"></a><span>  </span><span class="hs-glyph">-&gt;</span><span> </span><a href="OpenAPIPetstore.Core.html#ByteArray"><span class="hs-identifier hs-type">ByteArray</span></a><span> </span><span class="hs-comment">-- ^ 'formatTestByte' </span><span>
</span><a name="line-1125"></a><span>  </span><span class="hs-glyph">-&gt;</span><span> </span><a href="OpenAPIPetstore.Core.html#Date"><span class="hs-identifier hs-type">Date</span></a><span> </span><span class="hs-comment">-- ^ 'formatTestDate' </span><span>
</span><a name="line-1126"></a><span>  </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-type">Text</span><span> </span><span class="hs-comment">-- ^ 'formatTestPassword' </span><span>
</span><a name="line-1127"></a><span>  </span><span class="hs-glyph">-&gt;</span><span> </span><a href="OpenAPIPetstore.Model.html#FormatTest"><span class="hs-identifier hs-type">FormatTest</span></a><span>
</span><a name="line-1128"></a><a name="mkFormatTest"><a href="OpenAPIPetstore.Model.html#mkFormatTest"><span class="hs-identifier">mkFormatTest</span></a></a><span> </span><a name="local-6989586621679141635"><a href="#local-6989586621679141635"><span class="hs-identifier">formatTestNumber</span></a></a><span> </span><a name="local-6989586621679141636"><a href="#local-6989586621679141636"><span class="hs-identifier">formatTestByte</span></a></a><span> </span><a name="local-6989586621679141637"><a href="#local-6989586621679141637"><span class="hs-identifier">formatTestDate</span></a></a><span> </span><a name="local-6989586621679141638"><a href="#local-6989586621679141638"><span class="hs-identifier">formatTestPassword</span></a></a><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-1129"></a><span>  </span><a href="OpenAPIPetstore.Model.html#FormatTest"><span class="hs-identifier hs-var">FormatTest</span></a><span>
</span><a name="line-1130"></a><span>  </span><span class="hs-special">{</span><span> </span><span class="hs-identifier">formatTestInteger</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1131"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">formatTestInt32</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1132"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">formatTestInt64</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1133"></a><span>  </span><span class="hs-special">,</span><span> </span><a href="#local-6989586621679141635"><span class="hs-identifier hs-var">formatTestNumber</span></a><span>
</span><a name="line-1134"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">formatTestFloat</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1135"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">formatTestDouble</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1136"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">formatTestString</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1137"></a><span>  </span><span class="hs-special">,</span><span> </span><a href="#local-6989586621679141636"><span class="hs-identifier hs-var">formatTestByte</span></a><span>
</span><a name="line-1138"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">formatTestBinary</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1139"></a><span>  </span><span class="hs-special">,</span><span> </span><a href="#local-6989586621679141637"><span class="hs-identifier hs-var">formatTestDate</span></a><span>
</span><a name="line-1140"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">formatTestDateTime</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1141"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">formatTestUuid</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1142"></a><span>  </span><span class="hs-special">,</span><span> </span><a href="#local-6989586621679141638"><span class="hs-identifier hs-var">formatTestPassword</span></a><span>
</span><a name="line-1143"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">formatTestBigDecimal</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1144"></a><span>  </span><span class="hs-special">}</span><span>
</span><a name="line-1145"></a><span>
</span><a name="line-1146"></a><span class="hs-comment">-- ** HasOnlyReadOnly</span><span>
</span><a name="line-1147"></a><span class="hs-comment">-- | HasOnlyReadOnly</span><span>
</span><a name="line-1148"></a><span class="hs-keyword">data</span><span> </span><a name="HasOnlyReadOnly"><a href="OpenAPIPetstore.Model.html#HasOnlyReadOnly"><span class="hs-identifier">HasOnlyReadOnly</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="HasOnlyReadOnly"><a href="OpenAPIPetstore.Model.html#HasOnlyReadOnly"><span class="hs-identifier">HasOnlyReadOnly</span></a></a><span>
</span><a name="line-1149"></a><span>  </span><span class="hs-special">{</span><span> </span><a name="hasOnlyReadOnlyBar"><a href="OpenAPIPetstore.Model.html#hasOnlyReadOnlyBar"><span class="hs-identifier">hasOnlyReadOnlyBar</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Text</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;bar&quot;</span><span>
</span><a name="line-1150"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="hasOnlyReadOnlyFoo"><a href="OpenAPIPetstore.Model.html#hasOnlyReadOnlyFoo"><span class="hs-identifier">hasOnlyReadOnlyFoo</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Text</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;foo&quot;</span><span>
</span><a name="line-1151"></a><span>  </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Typeable</span><span class="hs-special">)</span><span>
</span><a name="line-1152"></a><span>
</span><a name="line-1153"></a><span class="hs-comment">-- | FromJSON HasOnlyReadOnly</span><span>
</span><a name="line-1154"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.FromJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#HasOnlyReadOnly"><span class="hs-identifier hs-type">HasOnlyReadOnly</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-1155"></a><span>  </span><a name="local-8214565720323822289"><span class="hs-identifier">parseJSON</span></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">A.withObject</span><span> </span><span class="hs-string">&quot;HasOnlyReadOnly&quot;</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-glyph">\</span><a name="local-6989586621679141533"><a href="#local-6989586621679141533"><span class="hs-identifier">o</span></a></a><span> </span><span class="hs-glyph">-&gt;</span><span>
</span><a name="line-1156"></a><span>    </span><a href="OpenAPIPetstore.Model.html#HasOnlyReadOnly"><span class="hs-identifier hs-var">HasOnlyReadOnly</span></a><span>
</span><a name="line-1157"></a><span>      </span><span class="hs-operator hs-var">&lt;$&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141533"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;bar&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1158"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141533"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;foo&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1159"></a><span>
</span><a name="line-1160"></a><span class="hs-comment">-- | ToJSON HasOnlyReadOnly</span><span>
</span><a name="line-1161"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.ToJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#HasOnlyReadOnly"><span class="hs-identifier hs-type">HasOnlyReadOnly</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-1162"></a><span>  </span><a name="local-8214565720323804008"><span class="hs-identifier">toJSON</span></a><span> </span><a href="OpenAPIPetstore.Model.html#HasOnlyReadOnly"><span class="hs-identifier hs-var">HasOnlyReadOnly</span></a><span> </span><span class="hs-special">{</span><span class="hs-glyph">..</span><span class="hs-special">}</span><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-1163"></a><span>   </span><a href="OpenAPIPetstore.Core.html#_omitNulls"><span class="hs-identifier hs-var">_omitNulls</span></a><span>
</span><a name="line-1164"></a><span>      </span><span class="hs-special">[</span><span> </span><span class="hs-string">&quot;bar&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141531"><span class="hs-identifier hs-var">hasOnlyReadOnlyBar</span></a><span>
</span><a name="line-1165"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;foo&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141532"><span class="hs-identifier hs-var">hasOnlyReadOnlyFoo</span></a><span>
</span><a name="line-1166"></a><span>      </span><span class="hs-special">]</span><span>
</span><a name="line-1167"></a><span>
</span><a name="line-1168"></a><span>
</span><a name="line-1169"></a><span class="hs-comment">-- | Construct a value of type 'HasOnlyReadOnly' (by applying it's required fields, if any)</span><span>
</span><a name="line-1170"></a><span class="hs-identifier">mkHasOnlyReadOnly</span><span>
</span><a name="line-1171"></a><span>  </span><span class="hs-glyph">::</span><span> </span><a href="OpenAPIPetstore.Model.html#HasOnlyReadOnly"><span class="hs-identifier hs-type">HasOnlyReadOnly</span></a><span>
</span><a name="line-1172"></a><a name="mkHasOnlyReadOnly"><a href="OpenAPIPetstore.Model.html#mkHasOnlyReadOnly"><span class="hs-identifier">mkHasOnlyReadOnly</span></a></a><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-1173"></a><span>  </span><a href="OpenAPIPetstore.Model.html#HasOnlyReadOnly"><span class="hs-identifier hs-var">HasOnlyReadOnly</span></a><span>
</span><a name="line-1174"></a><span>  </span><span class="hs-special">{</span><span> </span><span class="hs-identifier">hasOnlyReadOnlyBar</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1175"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">hasOnlyReadOnlyFoo</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1176"></a><span>  </span><span class="hs-special">}</span><span>
</span><a name="line-1177"></a><span>
</span><a name="line-1178"></a><span class="hs-comment">-- ** MapTest</span><span>
</span><a name="line-1179"></a><span class="hs-comment">-- | MapTest</span><span>
</span><a name="line-1180"></a><span class="hs-keyword">data</span><span> </span><a name="MapTest"><a href="OpenAPIPetstore.Model.html#MapTest"><span class="hs-identifier">MapTest</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="MapTest"><a href="OpenAPIPetstore.Model.html#MapTest"><span class="hs-identifier">MapTest</span></a></a><span>
</span><a name="line-1181"></a><span>  </span><span class="hs-special">{</span><span> </span><a name="mapTestMapMapOfString"><a href="OpenAPIPetstore.Model.html#mapTestMapMapOfString"><span class="hs-identifier">mapTestMapMapOfString</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">Map.Map</span><span> </span><span class="hs-identifier hs-type">String</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">Map.Map</span><span> </span><span class="hs-identifier hs-type">String</span><span> </span><span class="hs-identifier hs-type">Text</span><span class="hs-special">)</span><span class="hs-special">)</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;map_map_of_string&quot;</span><span>
</span><a name="line-1182"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="mapTestMapOfEnumString"><a href="OpenAPIPetstore.Model.html#mapTestMapOfEnumString"><span class="hs-identifier">mapTestMapOfEnumString</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">Map.Map</span><span> </span><span class="hs-identifier hs-type">String</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27Inner"><span class="hs-identifier hs-type">E'Inner</span></a><span class="hs-special">)</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;map_of_enum_string&quot;</span><span>
</span><a name="line-1183"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="mapTestDirectMap"><a href="OpenAPIPetstore.Model.html#mapTestDirectMap"><span class="hs-identifier">mapTestDirectMap</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">Map.Map</span><span> </span><span class="hs-identifier hs-type">String</span><span> </span><span class="hs-identifier hs-type">Bool</span><span class="hs-special">)</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;direct_map&quot;</span><span>
</span><a name="line-1184"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="mapTestIndirectMap"><a href="OpenAPIPetstore.Model.html#mapTestIndirectMap"><span class="hs-identifier">mapTestIndirectMap</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">Map.Map</span><span> </span><span class="hs-identifier hs-type">String</span><span> </span><span class="hs-identifier hs-type">Bool</span><span class="hs-special">)</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;indirect_map&quot;</span><span>
</span><a name="line-1185"></a><span>  </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Typeable</span><span class="hs-special">)</span><span>
</span><a name="line-1186"></a><span>
</span><a name="line-1187"></a><span class="hs-comment">-- | FromJSON MapTest</span><span>
</span><a name="line-1188"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.FromJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#MapTest"><span class="hs-identifier hs-type">MapTest</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-1189"></a><span>  </span><a name="local-8214565720323822289"><span class="hs-identifier">parseJSON</span></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">A.withObject</span><span> </span><span class="hs-string">&quot;MapTest&quot;</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-glyph">\</span><a name="local-6989586621679141530"><a href="#local-6989586621679141530"><span class="hs-identifier">o</span></a></a><span> </span><span class="hs-glyph">-&gt;</span><span>
</span><a name="line-1190"></a><span>    </span><a href="OpenAPIPetstore.Model.html#MapTest"><span class="hs-identifier hs-var">MapTest</span></a><span>
</span><a name="line-1191"></a><span>      </span><span class="hs-operator hs-var">&lt;$&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141530"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;map_map_of_string&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1192"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141530"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;map_of_enum_string&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1193"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141530"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;direct_map&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1194"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141530"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;indirect_map&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1195"></a><span>
</span><a name="line-1196"></a><span class="hs-comment">-- | ToJSON MapTest</span><span>
</span><a name="line-1197"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.ToJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#MapTest"><span class="hs-identifier hs-type">MapTest</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-1198"></a><span>  </span><a name="local-8214565720323804008"><span class="hs-identifier">toJSON</span></a><span> </span><a href="OpenAPIPetstore.Model.html#MapTest"><span class="hs-identifier hs-var">MapTest</span></a><span> </span><span class="hs-special">{</span><span class="hs-glyph">..</span><span class="hs-special">}</span><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-1199"></a><span>   </span><a href="OpenAPIPetstore.Core.html#_omitNulls"><span class="hs-identifier hs-var">_omitNulls</span></a><span>
</span><a name="line-1200"></a><span>      </span><span class="hs-special">[</span><span> </span><span class="hs-string">&quot;map_map_of_string&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141526"><span class="hs-identifier hs-var">mapTestMapMapOfString</span></a><span>
</span><a name="line-1201"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;map_of_enum_string&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141527"><span class="hs-identifier hs-var">mapTestMapOfEnumString</span></a><span>
</span><a name="line-1202"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;direct_map&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141528"><span class="hs-identifier hs-var">mapTestDirectMap</span></a><span>
</span><a name="line-1203"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;indirect_map&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141529"><span class="hs-identifier hs-var">mapTestIndirectMap</span></a><span>
</span><a name="line-1204"></a><span>      </span><span class="hs-special">]</span><span>
</span><a name="line-1205"></a><span>
</span><a name="line-1206"></a><span>
</span><a name="line-1207"></a><span class="hs-comment">-- | Construct a value of type 'MapTest' (by applying it's required fields, if any)</span><span>
</span><a name="line-1208"></a><span class="hs-identifier">mkMapTest</span><span>
</span><a name="line-1209"></a><span>  </span><span class="hs-glyph">::</span><span> </span><a href="OpenAPIPetstore.Model.html#MapTest"><span class="hs-identifier hs-type">MapTest</span></a><span>
</span><a name="line-1210"></a><a name="mkMapTest"><a href="OpenAPIPetstore.Model.html#mkMapTest"><span class="hs-identifier">mkMapTest</span></a></a><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-1211"></a><span>  </span><a href="OpenAPIPetstore.Model.html#MapTest"><span class="hs-identifier hs-var">MapTest</span></a><span>
</span><a name="line-1212"></a><span>  </span><span class="hs-special">{</span><span> </span><span class="hs-identifier">mapTestMapMapOfString</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1213"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">mapTestMapOfEnumString</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1214"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">mapTestDirectMap</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1215"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">mapTestIndirectMap</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1216"></a><span>  </span><span class="hs-special">}</span><span>
</span><a name="line-1217"></a><span>
</span><a name="line-1218"></a><span class="hs-comment">-- ** MixedPropertiesAndAdditionalPropertiesClass</span><span>
</span><a name="line-1219"></a><span class="hs-comment">-- | MixedPropertiesAndAdditionalPropertiesClass</span><span>
</span><a name="line-1220"></a><span class="hs-keyword">data</span><span> </span><a name="MixedPropertiesAndAdditionalPropertiesClass"><a href="OpenAPIPetstore.Model.html#MixedPropertiesAndAdditionalPropertiesClass"><span class="hs-identifier">MixedPropertiesAndAdditionalPropertiesClass</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="MixedPropertiesAndAdditionalPropertiesClass"><a href="OpenAPIPetstore.Model.html#MixedPropertiesAndAdditionalPropertiesClass"><span class="hs-identifier">MixedPropertiesAndAdditionalPropertiesClass</span></a></a><span>
</span><a name="line-1221"></a><span>  </span><span class="hs-special">{</span><span> </span><a name="mixedPropertiesAndAdditionalPropertiesClassUuid"><a href="OpenAPIPetstore.Model.html#mixedPropertiesAndAdditionalPropertiesClassUuid"><span class="hs-identifier">mixedPropertiesAndAdditionalPropertiesClassUuid</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Text</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;uuid&quot;</span><span>
</span><a name="line-1222"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="mixedPropertiesAndAdditionalPropertiesClassDateTime"><a href="OpenAPIPetstore.Model.html#mixedPropertiesAndAdditionalPropertiesClassDateTime"><span class="hs-identifier">mixedPropertiesAndAdditionalPropertiesClassDateTime</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><a href="OpenAPIPetstore.Core.html#DateTime"><span class="hs-identifier hs-type">DateTime</span></a><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;dateTime&quot;</span><span>
</span><a name="line-1223"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="mixedPropertiesAndAdditionalPropertiesClassMap"><a href="OpenAPIPetstore.Model.html#mixedPropertiesAndAdditionalPropertiesClassMap"><span class="hs-identifier">mixedPropertiesAndAdditionalPropertiesClassMap</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">Map.Map</span><span> </span><span class="hs-identifier hs-type">String</span><span> </span><a href="OpenAPIPetstore.Model.html#Animal"><span class="hs-identifier hs-type">Animal</span></a><span class="hs-special">)</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;map&quot;</span><span>
</span><a name="line-1224"></a><span>  </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Typeable</span><span class="hs-special">)</span><span>
</span><a name="line-1225"></a><span>
</span><a name="line-1226"></a><span class="hs-comment">-- | FromJSON MixedPropertiesAndAdditionalPropertiesClass</span><span>
</span><a name="line-1227"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.FromJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#MixedPropertiesAndAdditionalPropertiesClass"><span class="hs-identifier hs-type">MixedPropertiesAndAdditionalPropertiesClass</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-1228"></a><span>  </span><a name="local-8214565720323822289"><span class="hs-identifier">parseJSON</span></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">A.withObject</span><span> </span><span class="hs-string">&quot;MixedPropertiesAndAdditionalPropertiesClass&quot;</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-glyph">\</span><a name="local-6989586621679141525"><a href="#local-6989586621679141525"><span class="hs-identifier">o</span></a></a><span> </span><span class="hs-glyph">-&gt;</span><span>
</span><a name="line-1229"></a><span>    </span><a href="OpenAPIPetstore.Model.html#MixedPropertiesAndAdditionalPropertiesClass"><span class="hs-identifier hs-var">MixedPropertiesAndAdditionalPropertiesClass</span></a><span>
</span><a name="line-1230"></a><span>      </span><span class="hs-operator hs-var">&lt;$&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141525"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;uuid&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1231"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141525"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;dateTime&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1232"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141525"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;map&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1233"></a><span>
</span><a name="line-1234"></a><span class="hs-comment">-- | ToJSON MixedPropertiesAndAdditionalPropertiesClass</span><span>
</span><a name="line-1235"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.ToJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#MixedPropertiesAndAdditionalPropertiesClass"><span class="hs-identifier hs-type">MixedPropertiesAndAdditionalPropertiesClass</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-1236"></a><span>  </span><a name="local-8214565720323804008"><span class="hs-identifier">toJSON</span></a><span> </span><a href="OpenAPIPetstore.Model.html#MixedPropertiesAndAdditionalPropertiesClass"><span class="hs-identifier hs-var">MixedPropertiesAndAdditionalPropertiesClass</span></a><span> </span><span class="hs-special">{</span><span class="hs-glyph">..</span><span class="hs-special">}</span><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-1237"></a><span>   </span><a href="OpenAPIPetstore.Core.html#_omitNulls"><span class="hs-identifier hs-var">_omitNulls</span></a><span>
</span><a name="line-1238"></a><span>      </span><span class="hs-special">[</span><span> </span><span class="hs-string">&quot;uuid&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141522"><span class="hs-identifier hs-var">mixedPropertiesAndAdditionalPropertiesClassUuid</span></a><span>
</span><a name="line-1239"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;dateTime&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141523"><span class="hs-identifier hs-var">mixedPropertiesAndAdditionalPropertiesClassDateTime</span></a><span>
</span><a name="line-1240"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;map&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141524"><span class="hs-identifier hs-var">mixedPropertiesAndAdditionalPropertiesClassMap</span></a><span>
</span><a name="line-1241"></a><span>      </span><span class="hs-special">]</span><span>
</span><a name="line-1242"></a><span>
</span><a name="line-1243"></a><span>
</span><a name="line-1244"></a><span class="hs-comment">-- | Construct a value of type 'MixedPropertiesAndAdditionalPropertiesClass' (by applying it's required fields, if any)</span><span>
</span><a name="line-1245"></a><span class="hs-identifier">mkMixedPropertiesAndAdditionalPropertiesClass</span><span>
</span><a name="line-1246"></a><span>  </span><span class="hs-glyph">::</span><span> </span><a href="OpenAPIPetstore.Model.html#MixedPropertiesAndAdditionalPropertiesClass"><span class="hs-identifier hs-type">MixedPropertiesAndAdditionalPropertiesClass</span></a><span>
</span><a name="line-1247"></a><a name="mkMixedPropertiesAndAdditionalPropertiesClass"><a href="OpenAPIPetstore.Model.html#mkMixedPropertiesAndAdditionalPropertiesClass"><span class="hs-identifier">mkMixedPropertiesAndAdditionalPropertiesClass</span></a></a><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-1248"></a><span>  </span><a href="OpenAPIPetstore.Model.html#MixedPropertiesAndAdditionalPropertiesClass"><span class="hs-identifier hs-var">MixedPropertiesAndAdditionalPropertiesClass</span></a><span>
</span><a name="line-1249"></a><span>  </span><span class="hs-special">{</span><span> </span><span class="hs-identifier">mixedPropertiesAndAdditionalPropertiesClassUuid</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1250"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">mixedPropertiesAndAdditionalPropertiesClassDateTime</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1251"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">mixedPropertiesAndAdditionalPropertiesClassMap</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1252"></a><span>  </span><span class="hs-special">}</span><span>
</span><a name="line-1253"></a><span>
</span><a name="line-1254"></a><span class="hs-comment">-- ** Model200Response</span><span>
</span><a name="line-1255"></a><span class="hs-comment">-- | Model200Response</span><span>
</span><a name="line-1256"></a><span class="hs-comment">-- Model for testing model name starting with number</span><span>
</span><a name="line-1257"></a><span class="hs-keyword">data</span><span> </span><a name="Model200Response"><a href="OpenAPIPetstore.Model.html#Model200Response"><span class="hs-identifier">Model200Response</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="Model200Response"><a href="OpenAPIPetstore.Model.html#Model200Response"><span class="hs-identifier">Model200Response</span></a></a><span>
</span><a name="line-1258"></a><span>  </span><span class="hs-special">{</span><span> </span><a name="model200ResponseName"><a href="OpenAPIPetstore.Model.html#model200ResponseName"><span class="hs-identifier">model200ResponseName</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Int</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;name&quot;</span><span>
</span><a name="line-1259"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="model200ResponseClass"><a href="OpenAPIPetstore.Model.html#model200ResponseClass"><span class="hs-identifier">model200ResponseClass</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Text</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;class&quot;</span><span>
</span><a name="line-1260"></a><span>  </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Typeable</span><span class="hs-special">)</span><span>
</span><a name="line-1261"></a><span>
</span><a name="line-1262"></a><span class="hs-comment">-- | FromJSON Model200Response</span><span>
</span><a name="line-1263"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.FromJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#Model200Response"><span class="hs-identifier hs-type">Model200Response</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-1264"></a><span>  </span><a name="local-8214565720323822289"><span class="hs-identifier">parseJSON</span></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">A.withObject</span><span> </span><span class="hs-string">&quot;Model200Response&quot;</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-glyph">\</span><a name="local-6989586621679141521"><a href="#local-6989586621679141521"><span class="hs-identifier">o</span></a></a><span> </span><span class="hs-glyph">-&gt;</span><span>
</span><a name="line-1265"></a><span>    </span><a href="OpenAPIPetstore.Model.html#Model200Response"><span class="hs-identifier hs-var">Model200Response</span></a><span>
</span><a name="line-1266"></a><span>      </span><span class="hs-operator hs-var">&lt;$&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141521"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;name&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1267"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141521"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;class&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1268"></a><span>
</span><a name="line-1269"></a><span class="hs-comment">-- | ToJSON Model200Response</span><span>
</span><a name="line-1270"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.ToJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#Model200Response"><span class="hs-identifier hs-type">Model200Response</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-1271"></a><span>  </span><a name="local-8214565720323804008"><span class="hs-identifier">toJSON</span></a><span> </span><a href="OpenAPIPetstore.Model.html#Model200Response"><span class="hs-identifier hs-var">Model200Response</span></a><span> </span><span class="hs-special">{</span><span class="hs-glyph">..</span><span class="hs-special">}</span><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-1272"></a><span>   </span><a href="OpenAPIPetstore.Core.html#_omitNulls"><span class="hs-identifier hs-var">_omitNulls</span></a><span>
</span><a name="line-1273"></a><span>      </span><span class="hs-special">[</span><span> </span><span class="hs-string">&quot;name&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141519"><span class="hs-identifier hs-var">model200ResponseName</span></a><span>
</span><a name="line-1274"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;class&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141520"><span class="hs-identifier hs-var">model200ResponseClass</span></a><span>
</span><a name="line-1275"></a><span>      </span><span class="hs-special">]</span><span>
</span><a name="line-1276"></a><span>
</span><a name="line-1277"></a><span>
</span><a name="line-1278"></a><span class="hs-comment">-- | Construct a value of type 'Model200Response' (by applying it's required fields, if any)</span><span>
</span><a name="line-1279"></a><span class="hs-identifier">mkModel200Response</span><span>
</span><a name="line-1280"></a><span>  </span><span class="hs-glyph">::</span><span> </span><a href="OpenAPIPetstore.Model.html#Model200Response"><span class="hs-identifier hs-type">Model200Response</span></a><span>
</span><a name="line-1281"></a><a name="mkModel200Response"><a href="OpenAPIPetstore.Model.html#mkModel200Response"><span class="hs-identifier">mkModel200Response</span></a></a><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-1282"></a><span>  </span><a href="OpenAPIPetstore.Model.html#Model200Response"><span class="hs-identifier hs-var">Model200Response</span></a><span>
</span><a name="line-1283"></a><span>  </span><span class="hs-special">{</span><span> </span><span class="hs-identifier">model200ResponseName</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1284"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">model200ResponseClass</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1285"></a><span>  </span><span class="hs-special">}</span><span>
</span><a name="line-1286"></a><span>
</span><a name="line-1287"></a><span class="hs-comment">-- ** ModelList</span><span>
</span><a name="line-1288"></a><span class="hs-comment">-- | ModelList</span><span>
</span><a name="line-1289"></a><span class="hs-keyword">data</span><span> </span><a name="ModelList"><a href="OpenAPIPetstore.Model.html#ModelList"><span class="hs-identifier">ModelList</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="ModelList"><a href="OpenAPIPetstore.Model.html#ModelList"><span class="hs-identifier">ModelList</span></a></a><span>
</span><a name="line-1290"></a><span>  </span><span class="hs-special">{</span><span> </span><a name="modelList123list"><a href="OpenAPIPetstore.Model.html#modelList123list"><span class="hs-identifier">modelList123list</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Text</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;123-list&quot;</span><span>
</span><a name="line-1291"></a><span>  </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Typeable</span><span class="hs-special">)</span><span>
</span><a name="line-1292"></a><span>
</span><a name="line-1293"></a><span class="hs-comment">-- | FromJSON ModelList</span><span>
</span><a name="line-1294"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.FromJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#ModelList"><span class="hs-identifier hs-type">ModelList</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-1295"></a><span>  </span><a name="local-8214565720323822289"><span class="hs-identifier">parseJSON</span></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">A.withObject</span><span> </span><span class="hs-string">&quot;ModelList&quot;</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-glyph">\</span><a name="local-6989586621679141518"><a href="#local-6989586621679141518"><span class="hs-identifier">o</span></a></a><span> </span><span class="hs-glyph">-&gt;</span><span>
</span><a name="line-1296"></a><span>    </span><a href="OpenAPIPetstore.Model.html#ModelList"><span class="hs-identifier hs-var">ModelList</span></a><span>
</span><a name="line-1297"></a><span>      </span><span class="hs-operator hs-var">&lt;$&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141518"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;123-list&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1298"></a><span>
</span><a name="line-1299"></a><span class="hs-comment">-- | ToJSON ModelList</span><span>
</span><a name="line-1300"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.ToJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#ModelList"><span class="hs-identifier hs-type">ModelList</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-1301"></a><span>  </span><a name="local-8214565720323804008"><span class="hs-identifier">toJSON</span></a><span> </span><a href="OpenAPIPetstore.Model.html#ModelList"><span class="hs-identifier hs-var">ModelList</span></a><span> </span><span class="hs-special">{</span><span class="hs-glyph">..</span><span class="hs-special">}</span><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-1302"></a><span>   </span><a href="OpenAPIPetstore.Core.html#_omitNulls"><span class="hs-identifier hs-var">_omitNulls</span></a><span>
</span><a name="line-1303"></a><span>      </span><span class="hs-special">[</span><span> </span><span class="hs-string">&quot;123-list&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141517"><span class="hs-identifier hs-var">modelList123list</span></a><span>
</span><a name="line-1304"></a><span>      </span><span class="hs-special">]</span><span>
</span><a name="line-1305"></a><span>
</span><a name="line-1306"></a><span>
</span><a name="line-1307"></a><span class="hs-comment">-- | Construct a value of type 'ModelList' (by applying it's required fields, if any)</span><span>
</span><a name="line-1308"></a><span class="hs-identifier">mkModelList</span><span>
</span><a name="line-1309"></a><span>  </span><span class="hs-glyph">::</span><span> </span><a href="OpenAPIPetstore.Model.html#ModelList"><span class="hs-identifier hs-type">ModelList</span></a><span>
</span><a name="line-1310"></a><a name="mkModelList"><a href="OpenAPIPetstore.Model.html#mkModelList"><span class="hs-identifier">mkModelList</span></a></a><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-1311"></a><span>  </span><a href="OpenAPIPetstore.Model.html#ModelList"><span class="hs-identifier hs-var">ModelList</span></a><span>
</span><a name="line-1312"></a><span>  </span><span class="hs-special">{</span><span> </span><span class="hs-identifier">modelList123list</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1313"></a><span>  </span><span class="hs-special">}</span><span>
</span><a name="line-1314"></a><span>
</span><a name="line-1315"></a><span class="hs-comment">-- ** ModelReturn</span><span>
</span><a name="line-1316"></a><span class="hs-comment">-- | ModelReturn</span><span>
</span><a name="line-1317"></a><span class="hs-comment">-- Model for testing reserved words</span><span>
</span><a name="line-1318"></a><span class="hs-keyword">data</span><span> </span><a name="ModelReturn"><a href="OpenAPIPetstore.Model.html#ModelReturn"><span class="hs-identifier">ModelReturn</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="ModelReturn"><a href="OpenAPIPetstore.Model.html#ModelReturn"><span class="hs-identifier">ModelReturn</span></a></a><span>
</span><a name="line-1319"></a><span>  </span><span class="hs-special">{</span><span> </span><a name="modelReturnReturn"><a href="OpenAPIPetstore.Model.html#modelReturnReturn"><span class="hs-identifier">modelReturnReturn</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Int</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;return&quot;</span><span>
</span><a name="line-1320"></a><span>  </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Typeable</span><span class="hs-special">)</span><span>
</span><a name="line-1321"></a><span>
</span><a name="line-1322"></a><span class="hs-comment">-- | FromJSON ModelReturn</span><span>
</span><a name="line-1323"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.FromJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#ModelReturn"><span class="hs-identifier hs-type">ModelReturn</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-1324"></a><span>  </span><a name="local-8214565720323822289"><span class="hs-identifier">parseJSON</span></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">A.withObject</span><span> </span><span class="hs-string">&quot;ModelReturn&quot;</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-glyph">\</span><a name="local-6989586621679141516"><a href="#local-6989586621679141516"><span class="hs-identifier">o</span></a></a><span> </span><span class="hs-glyph">-&gt;</span><span>
</span><a name="line-1325"></a><span>    </span><a href="OpenAPIPetstore.Model.html#ModelReturn"><span class="hs-identifier hs-var">ModelReturn</span></a><span>
</span><a name="line-1326"></a><span>      </span><span class="hs-operator hs-var">&lt;$&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141516"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;return&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1327"></a><span>
</span><a name="line-1328"></a><span class="hs-comment">-- | ToJSON ModelReturn</span><span>
</span><a name="line-1329"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.ToJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#ModelReturn"><span class="hs-identifier hs-type">ModelReturn</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-1330"></a><span>  </span><a name="local-8214565720323804008"><span class="hs-identifier">toJSON</span></a><span> </span><a href="OpenAPIPetstore.Model.html#ModelReturn"><span class="hs-identifier hs-var">ModelReturn</span></a><span> </span><span class="hs-special">{</span><span class="hs-glyph">..</span><span class="hs-special">}</span><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-1331"></a><span>   </span><a href="OpenAPIPetstore.Core.html#_omitNulls"><span class="hs-identifier hs-var">_omitNulls</span></a><span>
</span><a name="line-1332"></a><span>      </span><span class="hs-special">[</span><span> </span><span class="hs-string">&quot;return&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141515"><span class="hs-identifier hs-var">modelReturnReturn</span></a><span>
</span><a name="line-1333"></a><span>      </span><span class="hs-special">]</span><span>
</span><a name="line-1334"></a><span>
</span><a name="line-1335"></a><span>
</span><a name="line-1336"></a><span class="hs-comment">-- | Construct a value of type 'ModelReturn' (by applying it's required fields, if any)</span><span>
</span><a name="line-1337"></a><span class="hs-identifier">mkModelReturn</span><span>
</span><a name="line-1338"></a><span>  </span><span class="hs-glyph">::</span><span> </span><a href="OpenAPIPetstore.Model.html#ModelReturn"><span class="hs-identifier hs-type">ModelReturn</span></a><span>
</span><a name="line-1339"></a><a name="mkModelReturn"><a href="OpenAPIPetstore.Model.html#mkModelReturn"><span class="hs-identifier">mkModelReturn</span></a></a><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-1340"></a><span>  </span><a href="OpenAPIPetstore.Model.html#ModelReturn"><span class="hs-identifier hs-var">ModelReturn</span></a><span>
</span><a name="line-1341"></a><span>  </span><span class="hs-special">{</span><span> </span><span class="hs-identifier">modelReturnReturn</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1342"></a><span>  </span><span class="hs-special">}</span><span>
</span><a name="line-1343"></a><span>
</span><a name="line-1344"></a><span class="hs-comment">-- ** Name</span><span>
</span><a name="line-1345"></a><span class="hs-comment">-- | Name</span><span>
</span><a name="line-1346"></a><span class="hs-comment">-- Model for testing model name same as property name</span><span>
</span><a name="line-1347"></a><span class="hs-keyword">data</span><span> </span><a name="Name"><a href="OpenAPIPetstore.Model.html#Name"><span class="hs-identifier">Name</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="Name"><a href="OpenAPIPetstore.Model.html#Name"><span class="hs-identifier">Name</span></a></a><span>
</span><a name="line-1348"></a><span>  </span><span class="hs-special">{</span><span> </span><a name="nameName"><a href="OpenAPIPetstore.Model.html#nameName"><span class="hs-identifier">nameName</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Int</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ /Required/ &quot;name&quot;</span><span>
</span><a name="line-1349"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="nameSnakeCase"><a href="OpenAPIPetstore.Model.html#nameSnakeCase"><span class="hs-identifier">nameSnakeCase</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Int</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;snake_case&quot;</span><span>
</span><a name="line-1350"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="nameProperty"><a href="OpenAPIPetstore.Model.html#nameProperty"><span class="hs-identifier">nameProperty</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Text</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;property&quot;</span><span>
</span><a name="line-1351"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="name123number"><a href="OpenAPIPetstore.Model.html#name123number"><span class="hs-identifier">name123number</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Int</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;123Number&quot;</span><span>
</span><a name="line-1352"></a><span>  </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Typeable</span><span class="hs-special">)</span><span>
</span><a name="line-1353"></a><span>
</span><a name="line-1354"></a><span class="hs-comment">-- | FromJSON Name</span><span>
</span><a name="line-1355"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.FromJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#Name"><span class="hs-identifier hs-type">Name</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-1356"></a><span>  </span><a name="local-8214565720323822289"><span class="hs-identifier">parseJSON</span></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">A.withObject</span><span> </span><span class="hs-string">&quot;Name&quot;</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-glyph">\</span><a name="local-6989586621679141514"><a href="#local-6989586621679141514"><span class="hs-identifier">o</span></a></a><span> </span><span class="hs-glyph">-&gt;</span><span>
</span><a name="line-1357"></a><span>    </span><a href="OpenAPIPetstore.Model.html#Name"><span class="hs-identifier hs-var">Name</span></a><span>
</span><a name="line-1358"></a><span>      </span><span class="hs-operator hs-var">&lt;$&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141514"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:</span><span>  </span><span class="hs-string">&quot;name&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1359"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141514"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;snake_case&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1360"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141514"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;property&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1361"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141514"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;123Number&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1362"></a><span>
</span><a name="line-1363"></a><span class="hs-comment">-- | ToJSON Name</span><span>
</span><a name="line-1364"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.ToJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#Name"><span class="hs-identifier hs-type">Name</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-1365"></a><span>  </span><a name="local-8214565720323804008"><span class="hs-identifier">toJSON</span></a><span> </span><a href="OpenAPIPetstore.Model.html#Name"><span class="hs-identifier hs-var">Name</span></a><span> </span><span class="hs-special">{</span><span class="hs-glyph">..</span><span class="hs-special">}</span><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-1366"></a><span>   </span><a href="OpenAPIPetstore.Core.html#_omitNulls"><span class="hs-identifier hs-var">_omitNulls</span></a><span>
</span><a name="line-1367"></a><span>      </span><span class="hs-special">[</span><span> </span><span class="hs-string">&quot;name&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141510"><span class="hs-identifier hs-var">nameName</span></a><span>
</span><a name="line-1368"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;snake_case&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141511"><span class="hs-identifier hs-var">nameSnakeCase</span></a><span>
</span><a name="line-1369"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;property&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141512"><span class="hs-identifier hs-var">nameProperty</span></a><span>
</span><a name="line-1370"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;123Number&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141513"><span class="hs-identifier hs-var">name123number</span></a><span>
</span><a name="line-1371"></a><span>      </span><span class="hs-special">]</span><span>
</span><a name="line-1372"></a><span>
</span><a name="line-1373"></a><span>
</span><a name="line-1374"></a><span class="hs-comment">-- | Construct a value of type 'Name' (by applying it's required fields, if any)</span><span>
</span><a name="line-1375"></a><span class="hs-identifier">mkName</span><span>
</span><a name="line-1376"></a><span>  </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier hs-type">Int</span><span> </span><span class="hs-comment">-- ^ 'nameName' </span><span>
</span><a name="line-1377"></a><span>  </span><span class="hs-glyph">-&gt;</span><span> </span><a href="OpenAPIPetstore.Model.html#Name"><span class="hs-identifier hs-type">Name</span></a><span>
</span><a name="line-1378"></a><a name="mkName"><a href="OpenAPIPetstore.Model.html#mkName"><span class="hs-identifier">mkName</span></a></a><span> </span><a name="local-6989586621679141639"><a href="#local-6989586621679141639"><span class="hs-identifier">nameName</span></a></a><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-1379"></a><span>  </span><a href="OpenAPIPetstore.Model.html#Name"><span class="hs-identifier hs-var">Name</span></a><span>
</span><a name="line-1380"></a><span>  </span><span class="hs-special">{</span><span> </span><a href="#local-6989586621679141639"><span class="hs-identifier hs-var">nameName</span></a><span>
</span><a name="line-1381"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">nameSnakeCase</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1382"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">nameProperty</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1383"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">name123number</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1384"></a><span>  </span><span class="hs-special">}</span><span>
</span><a name="line-1385"></a><span>
</span><a name="line-1386"></a><span class="hs-comment">-- ** NumberOnly</span><span>
</span><a name="line-1387"></a><span class="hs-comment">-- | NumberOnly</span><span>
</span><a name="line-1388"></a><span class="hs-keyword">data</span><span> </span><a name="NumberOnly"><a href="OpenAPIPetstore.Model.html#NumberOnly"><span class="hs-identifier">NumberOnly</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="NumberOnly"><a href="OpenAPIPetstore.Model.html#NumberOnly"><span class="hs-identifier">NumberOnly</span></a></a><span>
</span><a name="line-1389"></a><span>  </span><span class="hs-special">{</span><span> </span><a name="numberOnlyJustNumber"><a href="OpenAPIPetstore.Model.html#numberOnlyJustNumber"><span class="hs-identifier">numberOnlyJustNumber</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Double</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;JustNumber&quot;</span><span>
</span><a name="line-1390"></a><span>  </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Typeable</span><span class="hs-special">)</span><span>
</span><a name="line-1391"></a><span>
</span><a name="line-1392"></a><span class="hs-comment">-- | FromJSON NumberOnly</span><span>
</span><a name="line-1393"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.FromJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#NumberOnly"><span class="hs-identifier hs-type">NumberOnly</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-1394"></a><span>  </span><a name="local-8214565720323822289"><span class="hs-identifier">parseJSON</span></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">A.withObject</span><span> </span><span class="hs-string">&quot;NumberOnly&quot;</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-glyph">\</span><a name="local-6989586621679141509"><a href="#local-6989586621679141509"><span class="hs-identifier">o</span></a></a><span> </span><span class="hs-glyph">-&gt;</span><span>
</span><a name="line-1395"></a><span>    </span><a href="OpenAPIPetstore.Model.html#NumberOnly"><span class="hs-identifier hs-var">NumberOnly</span></a><span>
</span><a name="line-1396"></a><span>      </span><span class="hs-operator hs-var">&lt;$&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141509"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;JustNumber&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1397"></a><span>
</span><a name="line-1398"></a><span class="hs-comment">-- | ToJSON NumberOnly</span><span>
</span><a name="line-1399"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.ToJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#NumberOnly"><span class="hs-identifier hs-type">NumberOnly</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-1400"></a><span>  </span><a name="local-8214565720323804008"><span class="hs-identifier">toJSON</span></a><span> </span><a href="OpenAPIPetstore.Model.html#NumberOnly"><span class="hs-identifier hs-var">NumberOnly</span></a><span> </span><span class="hs-special">{</span><span class="hs-glyph">..</span><span class="hs-special">}</span><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-1401"></a><span>   </span><a href="OpenAPIPetstore.Core.html#_omitNulls"><span class="hs-identifier hs-var">_omitNulls</span></a><span>
</span><a name="line-1402"></a><span>      </span><span class="hs-special">[</span><span> </span><span class="hs-string">&quot;JustNumber&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141508"><span class="hs-identifier hs-var">numberOnlyJustNumber</span></a><span>
</span><a name="line-1403"></a><span>      </span><span class="hs-special">]</span><span>
</span><a name="line-1404"></a><span>
</span><a name="line-1405"></a><span>
</span><a name="line-1406"></a><span class="hs-comment">-- | Construct a value of type 'NumberOnly' (by applying it's required fields, if any)</span><span>
</span><a name="line-1407"></a><span class="hs-identifier">mkNumberOnly</span><span>
</span><a name="line-1408"></a><span>  </span><span class="hs-glyph">::</span><span> </span><a href="OpenAPIPetstore.Model.html#NumberOnly"><span class="hs-identifier hs-type">NumberOnly</span></a><span>
</span><a name="line-1409"></a><a name="mkNumberOnly"><a href="OpenAPIPetstore.Model.html#mkNumberOnly"><span class="hs-identifier">mkNumberOnly</span></a></a><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-1410"></a><span>  </span><a href="OpenAPIPetstore.Model.html#NumberOnly"><span class="hs-identifier hs-var">NumberOnly</span></a><span>
</span><a name="line-1411"></a><span>  </span><span class="hs-special">{</span><span> </span><span class="hs-identifier">numberOnlyJustNumber</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1412"></a><span>  </span><span class="hs-special">}</span><span>
</span><a name="line-1413"></a><span>
</span><a name="line-1414"></a><span class="hs-comment">-- ** Order</span><span>
</span><a name="line-1415"></a><span class="hs-comment">-- | Order</span><span>
</span><a name="line-1416"></a><span class="hs-keyword">data</span><span> </span><a name="Order"><a href="OpenAPIPetstore.Model.html#Order"><span class="hs-identifier">Order</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="Order"><a href="OpenAPIPetstore.Model.html#Order"><span class="hs-identifier">Order</span></a></a><span>
</span><a name="line-1417"></a><span>  </span><span class="hs-special">{</span><span> </span><a name="orderId"><a href="OpenAPIPetstore.Model.html#orderId"><span class="hs-identifier">orderId</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Integer</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;id&quot;</span><span>
</span><a name="line-1418"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="orderPetId"><a href="OpenAPIPetstore.Model.html#orderPetId"><span class="hs-identifier">orderPetId</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Integer</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;petId&quot;</span><span>
</span><a name="line-1419"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="orderQuantity"><a href="OpenAPIPetstore.Model.html#orderQuantity"><span class="hs-identifier">orderQuantity</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Int</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;quantity&quot;</span><span>
</span><a name="line-1420"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="orderShipDate"><a href="OpenAPIPetstore.Model.html#orderShipDate"><span class="hs-identifier">orderShipDate</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><a href="OpenAPIPetstore.Core.html#DateTime"><span class="hs-identifier hs-type">DateTime</span></a><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;shipDate&quot;</span><span>
</span><a name="line-1421"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="orderStatus"><a href="OpenAPIPetstore.Model.html#orderStatus"><span class="hs-identifier">orderStatus</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27Status"><span class="hs-identifier hs-type">E'Status</span></a><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;status&quot; - Order Status</span><span>
</span><a name="line-1422"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="orderComplete"><a href="OpenAPIPetstore.Model.html#orderComplete"><span class="hs-identifier">orderComplete</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Bool</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;complete&quot;</span><span>
</span><a name="line-1423"></a><span>  </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Typeable</span><span class="hs-special">)</span><span>
</span><a name="line-1424"></a><span>
</span><a name="line-1425"></a><span class="hs-comment">-- | FromJSON Order</span><span>
</span><a name="line-1426"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.FromJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#Order"><span class="hs-identifier hs-type">Order</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-1427"></a><span>  </span><a name="local-8214565720323822289"><span class="hs-identifier">parseJSON</span></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">A.withObject</span><span> </span><span class="hs-string">&quot;Order&quot;</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-glyph">\</span><a name="local-6989586621679141507"><a href="#local-6989586621679141507"><span class="hs-identifier">o</span></a></a><span> </span><span class="hs-glyph">-&gt;</span><span>
</span><a name="line-1428"></a><span>    </span><a href="OpenAPIPetstore.Model.html#Order"><span class="hs-identifier hs-var">Order</span></a><span>
</span><a name="line-1429"></a><span>      </span><span class="hs-operator hs-var">&lt;$&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141507"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;id&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1430"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141507"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;petId&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1431"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141507"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;quantity&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1432"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141507"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;shipDate&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1433"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141507"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;status&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1434"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141507"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;complete&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1435"></a><span>
</span><a name="line-1436"></a><span class="hs-comment">-- | ToJSON Order</span><span>
</span><a name="line-1437"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.ToJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#Order"><span class="hs-identifier hs-type">Order</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-1438"></a><span>  </span><a name="local-8214565720323804008"><span class="hs-identifier">toJSON</span></a><span> </span><a href="OpenAPIPetstore.Model.html#Order"><span class="hs-identifier hs-var">Order</span></a><span> </span><span class="hs-special">{</span><span class="hs-glyph">..</span><span class="hs-special">}</span><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-1439"></a><span>   </span><a href="OpenAPIPetstore.Core.html#_omitNulls"><span class="hs-identifier hs-var">_omitNulls</span></a><span>
</span><a name="line-1440"></a><span>      </span><span class="hs-special">[</span><span> </span><span class="hs-string">&quot;id&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141501"><span class="hs-identifier hs-var">orderId</span></a><span>
</span><a name="line-1441"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;petId&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141502"><span class="hs-identifier hs-var">orderPetId</span></a><span>
</span><a name="line-1442"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;quantity&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141503"><span class="hs-identifier hs-var">orderQuantity</span></a><span>
</span><a name="line-1443"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;shipDate&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141504"><span class="hs-identifier hs-var">orderShipDate</span></a><span>
</span><a name="line-1444"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;status&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141505"><span class="hs-identifier hs-var">orderStatus</span></a><span>
</span><a name="line-1445"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;complete&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141506"><span class="hs-identifier hs-var">orderComplete</span></a><span>
</span><a name="line-1446"></a><span>      </span><span class="hs-special">]</span><span>
</span><a name="line-1447"></a><span>
</span><a name="line-1448"></a><span>
</span><a name="line-1449"></a><span class="hs-comment">-- | Construct a value of type 'Order' (by applying it's required fields, if any)</span><span>
</span><a name="line-1450"></a><span class="hs-identifier">mkOrder</span><span>
</span><a name="line-1451"></a><span>  </span><span class="hs-glyph">::</span><span> </span><a href="OpenAPIPetstore.Model.html#Order"><span class="hs-identifier hs-type">Order</span></a><span>
</span><a name="line-1452"></a><a name="mkOrder"><a href="OpenAPIPetstore.Model.html#mkOrder"><span class="hs-identifier">mkOrder</span></a></a><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-1453"></a><span>  </span><a href="OpenAPIPetstore.Model.html#Order"><span class="hs-identifier hs-var">Order</span></a><span>
</span><a name="line-1454"></a><span>  </span><span class="hs-special">{</span><span> </span><span class="hs-identifier">orderId</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1455"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">orderPetId</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1456"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">orderQuantity</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1457"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">orderShipDate</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1458"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">orderStatus</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1459"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">orderComplete</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1460"></a><span>  </span><span class="hs-special">}</span><span>
</span><a name="line-1461"></a><span>
</span><a name="line-1462"></a><span class="hs-comment">-- ** OuterComposite</span><span>
</span><a name="line-1463"></a><span class="hs-comment">-- | OuterComposite</span><span>
</span><a name="line-1464"></a><span class="hs-keyword">data</span><span> </span><a name="OuterComposite"><a href="OpenAPIPetstore.Model.html#OuterComposite"><span class="hs-identifier">OuterComposite</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="OuterComposite"><a href="OpenAPIPetstore.Model.html#OuterComposite"><span class="hs-identifier">OuterComposite</span></a></a><span>
</span><a name="line-1465"></a><span>  </span><span class="hs-special">{</span><span> </span><a name="outerCompositeMyNumber"><a href="OpenAPIPetstore.Model.html#outerCompositeMyNumber"><span class="hs-identifier">outerCompositeMyNumber</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Double</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;my_number&quot;</span><span>
</span><a name="line-1466"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="outerCompositeMyString"><a href="OpenAPIPetstore.Model.html#outerCompositeMyString"><span class="hs-identifier">outerCompositeMyString</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Text</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;my_string&quot;</span><span>
</span><a name="line-1467"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="outerCompositeMyBoolean"><a href="OpenAPIPetstore.Model.html#outerCompositeMyBoolean"><span class="hs-identifier">outerCompositeMyBoolean</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Bool</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;my_boolean&quot;</span><span>
</span><a name="line-1468"></a><span>  </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Typeable</span><span class="hs-special">)</span><span>
</span><a name="line-1469"></a><span>
</span><a name="line-1470"></a><span class="hs-comment">-- | FromJSON OuterComposite</span><span>
</span><a name="line-1471"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.FromJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#OuterComposite"><span class="hs-identifier hs-type">OuterComposite</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-1472"></a><span>  </span><a name="local-8214565720323822289"><span class="hs-identifier">parseJSON</span></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">A.withObject</span><span> </span><span class="hs-string">&quot;OuterComposite&quot;</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-glyph">\</span><a name="local-6989586621679141500"><a href="#local-6989586621679141500"><span class="hs-identifier">o</span></a></a><span> </span><span class="hs-glyph">-&gt;</span><span>
</span><a name="line-1473"></a><span>    </span><a href="OpenAPIPetstore.Model.html#OuterComposite"><span class="hs-identifier hs-var">OuterComposite</span></a><span>
</span><a name="line-1474"></a><span>      </span><span class="hs-operator hs-var">&lt;$&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141500"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;my_number&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1475"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141500"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;my_string&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1476"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141500"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;my_boolean&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1477"></a><span>
</span><a name="line-1478"></a><span class="hs-comment">-- | ToJSON OuterComposite</span><span>
</span><a name="line-1479"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.ToJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#OuterComposite"><span class="hs-identifier hs-type">OuterComposite</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-1480"></a><span>  </span><a name="local-8214565720323804008"><span class="hs-identifier">toJSON</span></a><span> </span><a href="OpenAPIPetstore.Model.html#OuterComposite"><span class="hs-identifier hs-var">OuterComposite</span></a><span> </span><span class="hs-special">{</span><span class="hs-glyph">..</span><span class="hs-special">}</span><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-1481"></a><span>   </span><a href="OpenAPIPetstore.Core.html#_omitNulls"><span class="hs-identifier hs-var">_omitNulls</span></a><span>
</span><a name="line-1482"></a><span>      </span><span class="hs-special">[</span><span> </span><span class="hs-string">&quot;my_number&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141497"><span class="hs-identifier hs-var">outerCompositeMyNumber</span></a><span>
</span><a name="line-1483"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;my_string&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141498"><span class="hs-identifier hs-var">outerCompositeMyString</span></a><span>
</span><a name="line-1484"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;my_boolean&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141499"><span class="hs-identifier hs-var">outerCompositeMyBoolean</span></a><span>
</span><a name="line-1485"></a><span>      </span><span class="hs-special">]</span><span>
</span><a name="line-1486"></a><span>
</span><a name="line-1487"></a><span>
</span><a name="line-1488"></a><span class="hs-comment">-- | Construct a value of type 'OuterComposite' (by applying it's required fields, if any)</span><span>
</span><a name="line-1489"></a><span class="hs-identifier">mkOuterComposite</span><span>
</span><a name="line-1490"></a><span>  </span><span class="hs-glyph">::</span><span> </span><a href="OpenAPIPetstore.Model.html#OuterComposite"><span class="hs-identifier hs-type">OuterComposite</span></a><span>
</span><a name="line-1491"></a><a name="mkOuterComposite"><a href="OpenAPIPetstore.Model.html#mkOuterComposite"><span class="hs-identifier">mkOuterComposite</span></a></a><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-1492"></a><span>  </span><a href="OpenAPIPetstore.Model.html#OuterComposite"><span class="hs-identifier hs-var">OuterComposite</span></a><span>
</span><a name="line-1493"></a><span>  </span><span class="hs-special">{</span><span> </span><span class="hs-identifier">outerCompositeMyNumber</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1494"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">outerCompositeMyString</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1495"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">outerCompositeMyBoolean</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1496"></a><span>  </span><span class="hs-special">}</span><span>
</span><a name="line-1497"></a><span>
</span><a name="line-1498"></a><span class="hs-comment">-- ** Pet</span><span>
</span><a name="line-1499"></a><span class="hs-comment">-- | Pet</span><span>
</span><a name="line-1500"></a><span class="hs-keyword">data</span><span> </span><a name="Pet"><a href="OpenAPIPetstore.Model.html#Pet"><span class="hs-identifier">Pet</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="Pet"><a href="OpenAPIPetstore.Model.html#Pet"><span class="hs-identifier">Pet</span></a></a><span>
</span><a name="line-1501"></a><span>  </span><span class="hs-special">{</span><span> </span><a name="petId"><a href="OpenAPIPetstore.Model.html#petId"><span class="hs-identifier">petId</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Integer</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;id&quot;</span><span>
</span><a name="line-1502"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="petCategory"><a href="OpenAPIPetstore.Model.html#petCategory"><span class="hs-identifier">petCategory</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><a href="OpenAPIPetstore.Model.html#Category"><span class="hs-identifier hs-type">Category</span></a><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;category&quot;</span><span>
</span><a name="line-1503"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="petName"><a href="OpenAPIPetstore.Model.html#petName"><span class="hs-identifier">petName</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Text</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ /Required/ &quot;name&quot;</span><span>
</span><a name="line-1504"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="petPhotoUrls"><a href="OpenAPIPetstore.Model.html#petPhotoUrls"><span class="hs-identifier">petPhotoUrls</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-special">[</span><span class="hs-identifier hs-type">Text</span><span class="hs-special">]</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ /Required/ &quot;photoUrls&quot;</span><span>
</span><a name="line-1505"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="petTags"><a href="OpenAPIPetstore.Model.html#petTags"><span class="hs-identifier">petTags</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-special">[</span><a href="OpenAPIPetstore.Model.html#Tag"><span class="hs-identifier hs-type">Tag</span></a><span class="hs-special">]</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;tags&quot;</span><span>
</span><a name="line-1506"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="petStatus"><a href="OpenAPIPetstore.Model.html#petStatus"><span class="hs-identifier">petStatus</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27Status2"><span class="hs-identifier hs-type">E'Status2</span></a><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;status&quot; - pet status in the store</span><span>
</span><a name="line-1507"></a><span>  </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Typeable</span><span class="hs-special">)</span><span>
</span><a name="line-1508"></a><span>
</span><a name="line-1509"></a><span class="hs-comment">-- | FromJSON Pet</span><span>
</span><a name="line-1510"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.FromJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#Pet"><span class="hs-identifier hs-type">Pet</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-1511"></a><span>  </span><a name="local-8214565720323822289"><span class="hs-identifier">parseJSON</span></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">A.withObject</span><span> </span><span class="hs-string">&quot;Pet&quot;</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-glyph">\</span><a name="local-6989586621679141496"><a href="#local-6989586621679141496"><span class="hs-identifier">o</span></a></a><span> </span><span class="hs-glyph">-&gt;</span><span>
</span><a name="line-1512"></a><span>    </span><a href="OpenAPIPetstore.Model.html#Pet"><span class="hs-identifier hs-var">Pet</span></a><span>
</span><a name="line-1513"></a><span>      </span><span class="hs-operator hs-var">&lt;$&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141496"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;id&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1514"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141496"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;category&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1515"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141496"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:</span><span>  </span><span class="hs-string">&quot;name&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1516"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141496"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:</span><span>  </span><span class="hs-string">&quot;photoUrls&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1517"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141496"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;tags&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1518"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141496"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;status&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1519"></a><span>
</span><a name="line-1520"></a><span class="hs-comment">-- | ToJSON Pet</span><span>
</span><a name="line-1521"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.ToJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#Pet"><span class="hs-identifier hs-type">Pet</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-1522"></a><span>  </span><a name="local-8214565720323804008"><span class="hs-identifier">toJSON</span></a><span> </span><a href="OpenAPIPetstore.Model.html#Pet"><span class="hs-identifier hs-var">Pet</span></a><span> </span><span class="hs-special">{</span><span class="hs-glyph">..</span><span class="hs-special">}</span><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-1523"></a><span>   </span><a href="OpenAPIPetstore.Core.html#_omitNulls"><span class="hs-identifier hs-var">_omitNulls</span></a><span>
</span><a name="line-1524"></a><span>      </span><span class="hs-special">[</span><span> </span><span class="hs-string">&quot;id&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141490"><span class="hs-identifier hs-var">petId</span></a><span>
</span><a name="line-1525"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;category&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141491"><span class="hs-identifier hs-var">petCategory</span></a><span>
</span><a name="line-1526"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;name&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141492"><span class="hs-identifier hs-var">petName</span></a><span>
</span><a name="line-1527"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;photoUrls&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141493"><span class="hs-identifier hs-var">petPhotoUrls</span></a><span>
</span><a name="line-1528"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;tags&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141494"><span class="hs-identifier hs-var">petTags</span></a><span>
</span><a name="line-1529"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;status&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141495"><span class="hs-identifier hs-var">petStatus</span></a><span>
</span><a name="line-1530"></a><span>      </span><span class="hs-special">]</span><span>
</span><a name="line-1531"></a><span>
</span><a name="line-1532"></a><span>
</span><a name="line-1533"></a><span class="hs-comment">-- | Construct a value of type 'Pet' (by applying it's required fields, if any)</span><span>
</span><a name="line-1534"></a><span class="hs-identifier">mkPet</span><span>
</span><a name="line-1535"></a><span>  </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier hs-type">Text</span><span> </span><span class="hs-comment">-- ^ 'petName' </span><span>
</span><a name="line-1536"></a><span>  </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-special">[</span><span class="hs-identifier hs-type">Text</span><span class="hs-special">]</span><span> </span><span class="hs-comment">-- ^ 'petPhotoUrls' </span><span>
</span><a name="line-1537"></a><span>  </span><span class="hs-glyph">-&gt;</span><span> </span><a href="OpenAPIPetstore.Model.html#Pet"><span class="hs-identifier hs-type">Pet</span></a><span>
</span><a name="line-1538"></a><a name="mkPet"><a href="OpenAPIPetstore.Model.html#mkPet"><span class="hs-identifier">mkPet</span></a></a><span> </span><a name="local-6989586621679141640"><a href="#local-6989586621679141640"><span class="hs-identifier">petName</span></a></a><span> </span><a name="local-6989586621679141641"><a href="#local-6989586621679141641"><span class="hs-identifier">petPhotoUrls</span></a></a><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-1539"></a><span>  </span><a href="OpenAPIPetstore.Model.html#Pet"><span class="hs-identifier hs-var">Pet</span></a><span>
</span><a name="line-1540"></a><span>  </span><span class="hs-special">{</span><span> </span><span class="hs-identifier">petId</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1541"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">petCategory</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1542"></a><span>  </span><span class="hs-special">,</span><span> </span><a href="#local-6989586621679141640"><span class="hs-identifier hs-var">petName</span></a><span>
</span><a name="line-1543"></a><span>  </span><span class="hs-special">,</span><span> </span><a href="#local-6989586621679141641"><span class="hs-identifier hs-var">petPhotoUrls</span></a><span>
</span><a name="line-1544"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">petTags</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1545"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">petStatus</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1546"></a><span>  </span><span class="hs-special">}</span><span>
</span><a name="line-1547"></a><span>
</span><a name="line-1548"></a><span class="hs-comment">-- ** ReadOnlyFirst</span><span>
</span><a name="line-1549"></a><span class="hs-comment">-- | ReadOnlyFirst</span><span>
</span><a name="line-1550"></a><span class="hs-keyword">data</span><span> </span><a name="ReadOnlyFirst"><a href="OpenAPIPetstore.Model.html#ReadOnlyFirst"><span class="hs-identifier">ReadOnlyFirst</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="ReadOnlyFirst"><a href="OpenAPIPetstore.Model.html#ReadOnlyFirst"><span class="hs-identifier">ReadOnlyFirst</span></a></a><span>
</span><a name="line-1551"></a><span>  </span><span class="hs-special">{</span><span> </span><a name="readOnlyFirstBar"><a href="OpenAPIPetstore.Model.html#readOnlyFirstBar"><span class="hs-identifier">readOnlyFirstBar</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Text</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;bar&quot;</span><span>
</span><a name="line-1552"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="readOnlyFirstBaz"><a href="OpenAPIPetstore.Model.html#readOnlyFirstBaz"><span class="hs-identifier">readOnlyFirstBaz</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Text</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;baz&quot;</span><span>
</span><a name="line-1553"></a><span>  </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Typeable</span><span class="hs-special">)</span><span>
</span><a name="line-1554"></a><span>
</span><a name="line-1555"></a><span class="hs-comment">-- | FromJSON ReadOnlyFirst</span><span>
</span><a name="line-1556"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.FromJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#ReadOnlyFirst"><span class="hs-identifier hs-type">ReadOnlyFirst</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-1557"></a><span>  </span><a name="local-8214565720323822289"><span class="hs-identifier">parseJSON</span></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">A.withObject</span><span> </span><span class="hs-string">&quot;ReadOnlyFirst&quot;</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-glyph">\</span><a name="local-6989586621679141489"><a href="#local-6989586621679141489"><span class="hs-identifier">o</span></a></a><span> </span><span class="hs-glyph">-&gt;</span><span>
</span><a name="line-1558"></a><span>    </span><a href="OpenAPIPetstore.Model.html#ReadOnlyFirst"><span class="hs-identifier hs-var">ReadOnlyFirst</span></a><span>
</span><a name="line-1559"></a><span>      </span><span class="hs-operator hs-var">&lt;$&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141489"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;bar&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1560"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141489"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;baz&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1561"></a><span>
</span><a name="line-1562"></a><span class="hs-comment">-- | ToJSON ReadOnlyFirst</span><span>
</span><a name="line-1563"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.ToJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#ReadOnlyFirst"><span class="hs-identifier hs-type">ReadOnlyFirst</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-1564"></a><span>  </span><a name="local-8214565720323804008"><span class="hs-identifier">toJSON</span></a><span> </span><a href="OpenAPIPetstore.Model.html#ReadOnlyFirst"><span class="hs-identifier hs-var">ReadOnlyFirst</span></a><span> </span><span class="hs-special">{</span><span class="hs-glyph">..</span><span class="hs-special">}</span><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-1565"></a><span>   </span><a href="OpenAPIPetstore.Core.html#_omitNulls"><span class="hs-identifier hs-var">_omitNulls</span></a><span>
</span><a name="line-1566"></a><span>      </span><span class="hs-special">[</span><span> </span><span class="hs-string">&quot;bar&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141487"><span class="hs-identifier hs-var">readOnlyFirstBar</span></a><span>
</span><a name="line-1567"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;baz&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141488"><span class="hs-identifier hs-var">readOnlyFirstBaz</span></a><span>
</span><a name="line-1568"></a><span>      </span><span class="hs-special">]</span><span>
</span><a name="line-1569"></a><span>
</span><a name="line-1570"></a><span>
</span><a name="line-1571"></a><span class="hs-comment">-- | Construct a value of type 'ReadOnlyFirst' (by applying it's required fields, if any)</span><span>
</span><a name="line-1572"></a><span class="hs-identifier">mkReadOnlyFirst</span><span>
</span><a name="line-1573"></a><span>  </span><span class="hs-glyph">::</span><span> </span><a href="OpenAPIPetstore.Model.html#ReadOnlyFirst"><span class="hs-identifier hs-type">ReadOnlyFirst</span></a><span>
</span><a name="line-1574"></a><a name="mkReadOnlyFirst"><a href="OpenAPIPetstore.Model.html#mkReadOnlyFirst"><span class="hs-identifier">mkReadOnlyFirst</span></a></a><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-1575"></a><span>  </span><a href="OpenAPIPetstore.Model.html#ReadOnlyFirst"><span class="hs-identifier hs-var">ReadOnlyFirst</span></a><span>
</span><a name="line-1576"></a><span>  </span><span class="hs-special">{</span><span> </span><span class="hs-identifier">readOnlyFirstBar</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1577"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">readOnlyFirstBaz</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1578"></a><span>  </span><span class="hs-special">}</span><span>
</span><a name="line-1579"></a><span>
</span><a name="line-1580"></a><span class="hs-comment">-- ** SpecialModelName</span><span>
</span><a name="line-1581"></a><span class="hs-comment">-- | SpecialModelName</span><span>
</span><a name="line-1582"></a><span class="hs-keyword">data</span><span> </span><a name="SpecialModelName"><a href="OpenAPIPetstore.Model.html#SpecialModelName"><span class="hs-identifier">SpecialModelName</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="SpecialModelName"><a href="OpenAPIPetstore.Model.html#SpecialModelName"><span class="hs-identifier">SpecialModelName</span></a></a><span>
</span><a name="line-1583"></a><span>  </span><span class="hs-special">{</span><span> </span><a name="specialModelNameSpecialPropertyName"><a href="OpenAPIPetstore.Model.html#specialModelNameSpecialPropertyName"><span class="hs-identifier">specialModelNameSpecialPropertyName</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Integer</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;$special[property.name]&quot;</span><span>
</span><a name="line-1584"></a><span>  </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Typeable</span><span class="hs-special">)</span><span>
</span><a name="line-1585"></a><span>
</span><a name="line-1586"></a><span class="hs-comment">-- | FromJSON SpecialModelName</span><span>
</span><a name="line-1587"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.FromJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#SpecialModelName"><span class="hs-identifier hs-type">SpecialModelName</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-1588"></a><span>  </span><a name="local-8214565720323822289"><span class="hs-identifier">parseJSON</span></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">A.withObject</span><span> </span><span class="hs-string">&quot;SpecialModelName&quot;</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-glyph">\</span><a name="local-6989586621679141486"><a href="#local-6989586621679141486"><span class="hs-identifier">o</span></a></a><span> </span><span class="hs-glyph">-&gt;</span><span>
</span><a name="line-1589"></a><span>    </span><a href="OpenAPIPetstore.Model.html#SpecialModelName"><span class="hs-identifier hs-var">SpecialModelName</span></a><span>
</span><a name="line-1590"></a><span>      </span><span class="hs-operator hs-var">&lt;$&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141486"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;$special[property.name]&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1591"></a><span>
</span><a name="line-1592"></a><span class="hs-comment">-- | ToJSON SpecialModelName</span><span>
</span><a name="line-1593"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.ToJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#SpecialModelName"><span class="hs-identifier hs-type">SpecialModelName</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-1594"></a><span>  </span><a name="local-8214565720323804008"><span class="hs-identifier">toJSON</span></a><span> </span><a href="OpenAPIPetstore.Model.html#SpecialModelName"><span class="hs-identifier hs-var">SpecialModelName</span></a><span> </span><span class="hs-special">{</span><span class="hs-glyph">..</span><span class="hs-special">}</span><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-1595"></a><span>   </span><a href="OpenAPIPetstore.Core.html#_omitNulls"><span class="hs-identifier hs-var">_omitNulls</span></a><span>
</span><a name="line-1596"></a><span>      </span><span class="hs-special">[</span><span> </span><span class="hs-string">&quot;$special[property.name]&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141485"><span class="hs-identifier hs-var">specialModelNameSpecialPropertyName</span></a><span>
</span><a name="line-1597"></a><span>      </span><span class="hs-special">]</span><span>
</span><a name="line-1598"></a><span>
</span><a name="line-1599"></a><span>
</span><a name="line-1600"></a><span class="hs-comment">-- | Construct a value of type 'SpecialModelName' (by applying it's required fields, if any)</span><span>
</span><a name="line-1601"></a><span class="hs-identifier">mkSpecialModelName</span><span>
</span><a name="line-1602"></a><span>  </span><span class="hs-glyph">::</span><span> </span><a href="OpenAPIPetstore.Model.html#SpecialModelName"><span class="hs-identifier hs-type">SpecialModelName</span></a><span>
</span><a name="line-1603"></a><a name="mkSpecialModelName"><a href="OpenAPIPetstore.Model.html#mkSpecialModelName"><span class="hs-identifier">mkSpecialModelName</span></a></a><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-1604"></a><span>  </span><a href="OpenAPIPetstore.Model.html#SpecialModelName"><span class="hs-identifier hs-var">SpecialModelName</span></a><span>
</span><a name="line-1605"></a><span>  </span><span class="hs-special">{</span><span> </span><span class="hs-identifier">specialModelNameSpecialPropertyName</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1606"></a><span>  </span><span class="hs-special">}</span><span>
</span><a name="line-1607"></a><span>
</span><a name="line-1608"></a><span class="hs-comment">-- ** Tag</span><span>
</span><a name="line-1609"></a><span class="hs-comment">-- | Tag</span><span>
</span><a name="line-1610"></a><span class="hs-keyword">data</span><span> </span><a name="Tag"><a href="OpenAPIPetstore.Model.html#Tag"><span class="hs-identifier">Tag</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="Tag"><a href="OpenAPIPetstore.Model.html#Tag"><span class="hs-identifier">Tag</span></a></a><span>
</span><a name="line-1611"></a><span>  </span><span class="hs-special">{</span><span> </span><a name="tagId"><a href="OpenAPIPetstore.Model.html#tagId"><span class="hs-identifier">tagId</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Integer</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;id&quot;</span><span>
</span><a name="line-1612"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="tagName"><a href="OpenAPIPetstore.Model.html#tagName"><span class="hs-identifier">tagName</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Text</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;name&quot;</span><span>
</span><a name="line-1613"></a><span>  </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Typeable</span><span class="hs-special">)</span><span>
</span><a name="line-1614"></a><span>
</span><a name="line-1615"></a><span class="hs-comment">-- | FromJSON Tag</span><span>
</span><a name="line-1616"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.FromJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#Tag"><span class="hs-identifier hs-type">Tag</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-1617"></a><span>  </span><a name="local-8214565720323822289"><span class="hs-identifier">parseJSON</span></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">A.withObject</span><span> </span><span class="hs-string">&quot;Tag&quot;</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-glyph">\</span><a name="local-6989586621679141484"><a href="#local-6989586621679141484"><span class="hs-identifier">o</span></a></a><span> </span><span class="hs-glyph">-&gt;</span><span>
</span><a name="line-1618"></a><span>    </span><a href="OpenAPIPetstore.Model.html#Tag"><span class="hs-identifier hs-var">Tag</span></a><span>
</span><a name="line-1619"></a><span>      </span><span class="hs-operator hs-var">&lt;$&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141484"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;id&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1620"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141484"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;name&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1621"></a><span>
</span><a name="line-1622"></a><span class="hs-comment">-- | ToJSON Tag</span><span>
</span><a name="line-1623"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.ToJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#Tag"><span class="hs-identifier hs-type">Tag</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-1624"></a><span>  </span><a name="local-8214565720323804008"><span class="hs-identifier">toJSON</span></a><span> </span><a href="OpenAPIPetstore.Model.html#Tag"><span class="hs-identifier hs-var">Tag</span></a><span> </span><span class="hs-special">{</span><span class="hs-glyph">..</span><span class="hs-special">}</span><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-1625"></a><span>   </span><a href="OpenAPIPetstore.Core.html#_omitNulls"><span class="hs-identifier hs-var">_omitNulls</span></a><span>
</span><a name="line-1626"></a><span>      </span><span class="hs-special">[</span><span> </span><span class="hs-string">&quot;id&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141482"><span class="hs-identifier hs-var">tagId</span></a><span>
</span><a name="line-1627"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;name&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141483"><span class="hs-identifier hs-var">tagName</span></a><span>
</span><a name="line-1628"></a><span>      </span><span class="hs-special">]</span><span>
</span><a name="line-1629"></a><span>
</span><a name="line-1630"></a><span>
</span><a name="line-1631"></a><span class="hs-comment">-- | Construct a value of type 'Tag' (by applying it's required fields, if any)</span><span>
</span><a name="line-1632"></a><span class="hs-identifier">mkTag</span><span>
</span><a name="line-1633"></a><span>  </span><span class="hs-glyph">::</span><span> </span><a href="OpenAPIPetstore.Model.html#Tag"><span class="hs-identifier hs-type">Tag</span></a><span>
</span><a name="line-1634"></a><a name="mkTag"><a href="OpenAPIPetstore.Model.html#mkTag"><span class="hs-identifier">mkTag</span></a></a><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-1635"></a><span>  </span><a href="OpenAPIPetstore.Model.html#Tag"><span class="hs-identifier hs-var">Tag</span></a><span>
</span><a name="line-1636"></a><span>  </span><span class="hs-special">{</span><span> </span><span class="hs-identifier">tagId</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1637"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">tagName</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1638"></a><span>  </span><span class="hs-special">}</span><span>
</span><a name="line-1639"></a><span>
</span><a name="line-1640"></a><span class="hs-comment">-- ** TypeHolderDefault</span><span>
</span><a name="line-1641"></a><span class="hs-comment">-- | TypeHolderDefault</span><span>
</span><a name="line-1642"></a><span class="hs-keyword">data</span><span> </span><a name="TypeHolderDefault"><a href="OpenAPIPetstore.Model.html#TypeHolderDefault"><span class="hs-identifier">TypeHolderDefault</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="TypeHolderDefault"><a href="OpenAPIPetstore.Model.html#TypeHolderDefault"><span class="hs-identifier">TypeHolderDefault</span></a></a><span>
</span><a name="line-1643"></a><span>  </span><span class="hs-special">{</span><span> </span><a name="typeHolderDefaultStringItem"><a href="OpenAPIPetstore.Model.html#typeHolderDefaultStringItem"><span class="hs-identifier">typeHolderDefaultStringItem</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Text</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ /Required/ &quot;string_item&quot;</span><span>
</span><a name="line-1644"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="typeHolderDefaultNumberItem"><a href="OpenAPIPetstore.Model.html#typeHolderDefaultNumberItem"><span class="hs-identifier">typeHolderDefaultNumberItem</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Double</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ /Required/ &quot;number_item&quot;</span><span>
</span><a name="line-1645"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="typeHolderDefaultIntegerItem"><a href="OpenAPIPetstore.Model.html#typeHolderDefaultIntegerItem"><span class="hs-identifier">typeHolderDefaultIntegerItem</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Int</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ /Required/ &quot;integer_item&quot;</span><span>
</span><a name="line-1646"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="typeHolderDefaultBoolItem"><a href="OpenAPIPetstore.Model.html#typeHolderDefaultBoolItem"><span class="hs-identifier">typeHolderDefaultBoolItem</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Bool</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ /Required/ &quot;bool_item&quot;</span><span>
</span><a name="line-1647"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="typeHolderDefaultArrayItem"><a href="OpenAPIPetstore.Model.html#typeHolderDefaultArrayItem"><span class="hs-identifier">typeHolderDefaultArrayItem</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-special">[</span><span class="hs-identifier hs-type">Int</span><span class="hs-special">]</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ /Required/ &quot;array_item&quot;</span><span>
</span><a name="line-1648"></a><span>  </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Typeable</span><span class="hs-special">)</span><span>
</span><a name="line-1649"></a><span>
</span><a name="line-1650"></a><span class="hs-comment">-- | FromJSON TypeHolderDefault</span><span>
</span><a name="line-1651"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.FromJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#TypeHolderDefault"><span class="hs-identifier hs-type">TypeHolderDefault</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-1652"></a><span>  </span><a name="local-8214565720323822289"><span class="hs-identifier">parseJSON</span></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">A.withObject</span><span> </span><span class="hs-string">&quot;TypeHolderDefault&quot;</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-glyph">\</span><a name="local-6989586621679141481"><a href="#local-6989586621679141481"><span class="hs-identifier">o</span></a></a><span> </span><span class="hs-glyph">-&gt;</span><span>
</span><a name="line-1653"></a><span>    </span><a href="OpenAPIPetstore.Model.html#TypeHolderDefault"><span class="hs-identifier hs-var">TypeHolderDefault</span></a><span>
</span><a name="line-1654"></a><span>      </span><span class="hs-operator hs-var">&lt;$&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141481"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:</span><span>  </span><span class="hs-string">&quot;string_item&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1655"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141481"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:</span><span>  </span><span class="hs-string">&quot;number_item&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1656"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141481"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:</span><span>  </span><span class="hs-string">&quot;integer_item&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1657"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141481"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:</span><span>  </span><span class="hs-string">&quot;bool_item&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1658"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141481"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:</span><span>  </span><span class="hs-string">&quot;array_item&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1659"></a><span>
</span><a name="line-1660"></a><span class="hs-comment">-- | ToJSON TypeHolderDefault</span><span>
</span><a name="line-1661"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.ToJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#TypeHolderDefault"><span class="hs-identifier hs-type">TypeHolderDefault</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-1662"></a><span>  </span><a name="local-8214565720323804008"><span class="hs-identifier">toJSON</span></a><span> </span><a href="OpenAPIPetstore.Model.html#TypeHolderDefault"><span class="hs-identifier hs-var">TypeHolderDefault</span></a><span> </span><span class="hs-special">{</span><span class="hs-glyph">..</span><span class="hs-special">}</span><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-1663"></a><span>   </span><a href="OpenAPIPetstore.Core.html#_omitNulls"><span class="hs-identifier hs-var">_omitNulls</span></a><span>
</span><a name="line-1664"></a><span>      </span><span class="hs-special">[</span><span> </span><span class="hs-string">&quot;string_item&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141476"><span class="hs-identifier hs-var">typeHolderDefaultStringItem</span></a><span>
</span><a name="line-1665"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;number_item&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141477"><span class="hs-identifier hs-var">typeHolderDefaultNumberItem</span></a><span>
</span><a name="line-1666"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;integer_item&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141478"><span class="hs-identifier hs-var">typeHolderDefaultIntegerItem</span></a><span>
</span><a name="line-1667"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;bool_item&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141479"><span class="hs-identifier hs-var">typeHolderDefaultBoolItem</span></a><span>
</span><a name="line-1668"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;array_item&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141480"><span class="hs-identifier hs-var">typeHolderDefaultArrayItem</span></a><span>
</span><a name="line-1669"></a><span>      </span><span class="hs-special">]</span><span>
</span><a name="line-1670"></a><span>
</span><a name="line-1671"></a><span>
</span><a name="line-1672"></a><span class="hs-comment">-- | Construct a value of type 'TypeHolderDefault' (by applying it's required fields, if any)</span><span>
</span><a name="line-1673"></a><span class="hs-identifier">mkTypeHolderDefault</span><span>
</span><a name="line-1674"></a><span>  </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier hs-type">Text</span><span> </span><span class="hs-comment">-- ^ 'typeHolderDefaultStringItem' </span><span>
</span><a name="line-1675"></a><span>  </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-type">Double</span><span> </span><span class="hs-comment">-- ^ 'typeHolderDefaultNumberItem' </span><span>
</span><a name="line-1676"></a><span>  </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-type">Int</span><span> </span><span class="hs-comment">-- ^ 'typeHolderDefaultIntegerItem' </span><span>
</span><a name="line-1677"></a><span>  </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-type">Bool</span><span> </span><span class="hs-comment">-- ^ 'typeHolderDefaultBoolItem' </span><span>
</span><a name="line-1678"></a><span>  </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-special">[</span><span class="hs-identifier hs-type">Int</span><span class="hs-special">]</span><span> </span><span class="hs-comment">-- ^ 'typeHolderDefaultArrayItem' </span><span>
</span><a name="line-1679"></a><span>  </span><span class="hs-glyph">-&gt;</span><span> </span><a href="OpenAPIPetstore.Model.html#TypeHolderDefault"><span class="hs-identifier hs-type">TypeHolderDefault</span></a><span>
</span><a name="line-1680"></a><a name="mkTypeHolderDefault"><a href="OpenAPIPetstore.Model.html#mkTypeHolderDefault"><span class="hs-identifier">mkTypeHolderDefault</span></a></a><span> </span><a name="local-6989586621679141642"><a href="#local-6989586621679141642"><span class="hs-identifier">typeHolderDefaultStringItem</span></a></a><span> </span><a name="local-6989586621679141643"><a href="#local-6989586621679141643"><span class="hs-identifier">typeHolderDefaultNumberItem</span></a></a><span> </span><a name="local-6989586621679141644"><a href="#local-6989586621679141644"><span class="hs-identifier">typeHolderDefaultIntegerItem</span></a></a><span> </span><a name="local-6989586621679141645"><a href="#local-6989586621679141645"><span class="hs-identifier">typeHolderDefaultBoolItem</span></a></a><span> </span><a name="local-6989586621679141646"><a href="#local-6989586621679141646"><span class="hs-identifier">typeHolderDefaultArrayItem</span></a></a><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-1681"></a><span>  </span><a href="OpenAPIPetstore.Model.html#TypeHolderDefault"><span class="hs-identifier hs-var">TypeHolderDefault</span></a><span>
</span><a name="line-1682"></a><span>  </span><span class="hs-special">{</span><span> </span><a href="#local-6989586621679141642"><span class="hs-identifier hs-var">typeHolderDefaultStringItem</span></a><span>
</span><a name="line-1683"></a><span>  </span><span class="hs-special">,</span><span> </span><a href="#local-6989586621679141643"><span class="hs-identifier hs-var">typeHolderDefaultNumberItem</span></a><span>
</span><a name="line-1684"></a><span>  </span><span class="hs-special">,</span><span> </span><a href="#local-6989586621679141644"><span class="hs-identifier hs-var">typeHolderDefaultIntegerItem</span></a><span>
</span><a name="line-1685"></a><span>  </span><span class="hs-special">,</span><span> </span><a href="#local-6989586621679141645"><span class="hs-identifier hs-var">typeHolderDefaultBoolItem</span></a><span>
</span><a name="line-1686"></a><span>  </span><span class="hs-special">,</span><span> </span><a href="#local-6989586621679141646"><span class="hs-identifier hs-var">typeHolderDefaultArrayItem</span></a><span>
</span><a name="line-1687"></a><span>  </span><span class="hs-special">}</span><span>
</span><a name="line-1688"></a><span>
</span><a name="line-1689"></a><span class="hs-comment">-- ** TypeHolderExample</span><span>
</span><a name="line-1690"></a><span class="hs-comment">-- | TypeHolderExample</span><span>
</span><a name="line-1691"></a><span class="hs-keyword">data</span><span> </span><a name="TypeHolderExample"><a href="OpenAPIPetstore.Model.html#TypeHolderExample"><span class="hs-identifier">TypeHolderExample</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="TypeHolderExample"><a href="OpenAPIPetstore.Model.html#TypeHolderExample"><span class="hs-identifier">TypeHolderExample</span></a></a><span>
</span><a name="line-1692"></a><span>  </span><span class="hs-special">{</span><span> </span><a name="typeHolderExampleStringItem"><a href="OpenAPIPetstore.Model.html#typeHolderExampleStringItem"><span class="hs-identifier">typeHolderExampleStringItem</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Text</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ /Required/ &quot;string_item&quot;</span><span>
</span><a name="line-1693"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="typeHolderExampleNumberItem"><a href="OpenAPIPetstore.Model.html#typeHolderExampleNumberItem"><span class="hs-identifier">typeHolderExampleNumberItem</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Double</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ /Required/ &quot;number_item&quot;</span><span>
</span><a name="line-1694"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="typeHolderExampleFloatItem"><a href="OpenAPIPetstore.Model.html#typeHolderExampleFloatItem"><span class="hs-identifier">typeHolderExampleFloatItem</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Float</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ /Required/ &quot;float_item&quot;</span><span>
</span><a name="line-1695"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="typeHolderExampleIntegerItem"><a href="OpenAPIPetstore.Model.html#typeHolderExampleIntegerItem"><span class="hs-identifier">typeHolderExampleIntegerItem</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Int</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ /Required/ &quot;integer_item&quot;</span><span>
</span><a name="line-1696"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="typeHolderExampleBoolItem"><a href="OpenAPIPetstore.Model.html#typeHolderExampleBoolItem"><span class="hs-identifier">typeHolderExampleBoolItem</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Bool</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ /Required/ &quot;bool_item&quot;</span><span>
</span><a name="line-1697"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="typeHolderExampleArrayItem"><a href="OpenAPIPetstore.Model.html#typeHolderExampleArrayItem"><span class="hs-identifier">typeHolderExampleArrayItem</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-special">[</span><span class="hs-identifier hs-type">Int</span><span class="hs-special">]</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ /Required/ &quot;array_item&quot;</span><span>
</span><a name="line-1698"></a><span>  </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Typeable</span><span class="hs-special">)</span><span>
</span><a name="line-1699"></a><span>
</span><a name="line-1700"></a><span class="hs-comment">-- | FromJSON TypeHolderExample</span><span>
</span><a name="line-1701"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.FromJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#TypeHolderExample"><span class="hs-identifier hs-type">TypeHolderExample</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-1702"></a><span>  </span><a name="local-8214565720323822289"><span class="hs-identifier">parseJSON</span></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">A.withObject</span><span> </span><span class="hs-string">&quot;TypeHolderExample&quot;</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-glyph">\</span><a name="local-6989586621679141475"><a href="#local-6989586621679141475"><span class="hs-identifier">o</span></a></a><span> </span><span class="hs-glyph">-&gt;</span><span>
</span><a name="line-1703"></a><span>    </span><a href="OpenAPIPetstore.Model.html#TypeHolderExample"><span class="hs-identifier hs-var">TypeHolderExample</span></a><span>
</span><a name="line-1704"></a><span>      </span><span class="hs-operator hs-var">&lt;$&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141475"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:</span><span>  </span><span class="hs-string">&quot;string_item&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1705"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141475"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:</span><span>  </span><span class="hs-string">&quot;number_item&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1706"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141475"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:</span><span>  </span><span class="hs-string">&quot;float_item&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1707"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141475"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:</span><span>  </span><span class="hs-string">&quot;integer_item&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1708"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141475"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:</span><span>  </span><span class="hs-string">&quot;bool_item&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1709"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141475"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:</span><span>  </span><span class="hs-string">&quot;array_item&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1710"></a><span>
</span><a name="line-1711"></a><span class="hs-comment">-- | ToJSON TypeHolderExample</span><span>
</span><a name="line-1712"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.ToJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#TypeHolderExample"><span class="hs-identifier hs-type">TypeHolderExample</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-1713"></a><span>  </span><a name="local-8214565720323804008"><span class="hs-identifier">toJSON</span></a><span> </span><a href="OpenAPIPetstore.Model.html#TypeHolderExample"><span class="hs-identifier hs-var">TypeHolderExample</span></a><span> </span><span class="hs-special">{</span><span class="hs-glyph">..</span><span class="hs-special">}</span><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-1714"></a><span>   </span><a href="OpenAPIPetstore.Core.html#_omitNulls"><span class="hs-identifier hs-var">_omitNulls</span></a><span>
</span><a name="line-1715"></a><span>      </span><span class="hs-special">[</span><span> </span><span class="hs-string">&quot;string_item&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141469"><span class="hs-identifier hs-var">typeHolderExampleStringItem</span></a><span>
</span><a name="line-1716"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;number_item&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141470"><span class="hs-identifier hs-var">typeHolderExampleNumberItem</span></a><span>
</span><a name="line-1717"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;float_item&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141471"><span class="hs-identifier hs-var">typeHolderExampleFloatItem</span></a><span>
</span><a name="line-1718"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;integer_item&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141472"><span class="hs-identifier hs-var">typeHolderExampleIntegerItem</span></a><span>
</span><a name="line-1719"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;bool_item&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141473"><span class="hs-identifier hs-var">typeHolderExampleBoolItem</span></a><span>
</span><a name="line-1720"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;array_item&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141474"><span class="hs-identifier hs-var">typeHolderExampleArrayItem</span></a><span>
</span><a name="line-1721"></a><span>      </span><span class="hs-special">]</span><span>
</span><a name="line-1722"></a><span>
</span><a name="line-1723"></a><span>
</span><a name="line-1724"></a><span class="hs-comment">-- | Construct a value of type 'TypeHolderExample' (by applying it's required fields, if any)</span><span>
</span><a name="line-1725"></a><span class="hs-identifier">mkTypeHolderExample</span><span>
</span><a name="line-1726"></a><span>  </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier hs-type">Text</span><span> </span><span class="hs-comment">-- ^ 'typeHolderExampleStringItem' </span><span>
</span><a name="line-1727"></a><span>  </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-type">Double</span><span> </span><span class="hs-comment">-- ^ 'typeHolderExampleNumberItem' </span><span>
</span><a name="line-1728"></a><span>  </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-type">Float</span><span> </span><span class="hs-comment">-- ^ 'typeHolderExampleFloatItem' </span><span>
</span><a name="line-1729"></a><span>  </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-type">Int</span><span> </span><span class="hs-comment">-- ^ 'typeHolderExampleIntegerItem' </span><span>
</span><a name="line-1730"></a><span>  </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-type">Bool</span><span> </span><span class="hs-comment">-- ^ 'typeHolderExampleBoolItem' </span><span>
</span><a name="line-1731"></a><span>  </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-special">[</span><span class="hs-identifier hs-type">Int</span><span class="hs-special">]</span><span> </span><span class="hs-comment">-- ^ 'typeHolderExampleArrayItem' </span><span>
</span><a name="line-1732"></a><span>  </span><span class="hs-glyph">-&gt;</span><span> </span><a href="OpenAPIPetstore.Model.html#TypeHolderExample"><span class="hs-identifier hs-type">TypeHolderExample</span></a><span>
</span><a name="line-1733"></a><a name="mkTypeHolderExample"><a href="OpenAPIPetstore.Model.html#mkTypeHolderExample"><span class="hs-identifier">mkTypeHolderExample</span></a></a><span> </span><a name="local-6989586621679141647"><a href="#local-6989586621679141647"><span class="hs-identifier">typeHolderExampleStringItem</span></a></a><span> </span><a name="local-6989586621679141648"><a href="#local-6989586621679141648"><span class="hs-identifier">typeHolderExampleNumberItem</span></a></a><span> </span><a name="local-6989586621679141649"><a href="#local-6989586621679141649"><span class="hs-identifier">typeHolderExampleFloatItem</span></a></a><span> </span><a name="local-6989586621679141650"><a href="#local-6989586621679141650"><span class="hs-identifier">typeHolderExampleIntegerItem</span></a></a><span> </span><a name="local-6989586621679141651"><a href="#local-6989586621679141651"><span class="hs-identifier">typeHolderExampleBoolItem</span></a></a><span> </span><a name="local-6989586621679141652"><a href="#local-6989586621679141652"><span class="hs-identifier">typeHolderExampleArrayItem</span></a></a><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-1734"></a><span>  </span><a href="OpenAPIPetstore.Model.html#TypeHolderExample"><span class="hs-identifier hs-var">TypeHolderExample</span></a><span>
</span><a name="line-1735"></a><span>  </span><span class="hs-special">{</span><span> </span><a href="#local-6989586621679141647"><span class="hs-identifier hs-var">typeHolderExampleStringItem</span></a><span>
</span><a name="line-1736"></a><span>  </span><span class="hs-special">,</span><span> </span><a href="#local-6989586621679141648"><span class="hs-identifier hs-var">typeHolderExampleNumberItem</span></a><span>
</span><a name="line-1737"></a><span>  </span><span class="hs-special">,</span><span> </span><a href="#local-6989586621679141649"><span class="hs-identifier hs-var">typeHolderExampleFloatItem</span></a><span>
</span><a name="line-1738"></a><span>  </span><span class="hs-special">,</span><span> </span><a href="#local-6989586621679141650"><span class="hs-identifier hs-var">typeHolderExampleIntegerItem</span></a><span>
</span><a name="line-1739"></a><span>  </span><span class="hs-special">,</span><span> </span><a href="#local-6989586621679141651"><span class="hs-identifier hs-var">typeHolderExampleBoolItem</span></a><span>
</span><a name="line-1740"></a><span>  </span><span class="hs-special">,</span><span> </span><a href="#local-6989586621679141652"><span class="hs-identifier hs-var">typeHolderExampleArrayItem</span></a><span>
</span><a name="line-1741"></a><span>  </span><span class="hs-special">}</span><span>
</span><a name="line-1742"></a><span>
</span><a name="line-1743"></a><span class="hs-comment">-- ** User</span><span>
</span><a name="line-1744"></a><span class="hs-comment">-- | User</span><span>
</span><a name="line-1745"></a><span class="hs-keyword">data</span><span> </span><a name="User"><a href="OpenAPIPetstore.Model.html#User"><span class="hs-identifier">User</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="User"><a href="OpenAPIPetstore.Model.html#User"><span class="hs-identifier">User</span></a></a><span>
</span><a name="line-1746"></a><span>  </span><span class="hs-special">{</span><span> </span><a name="userId"><a href="OpenAPIPetstore.Model.html#userId"><span class="hs-identifier">userId</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Integer</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;id&quot;</span><span>
</span><a name="line-1747"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="userUsername"><a href="OpenAPIPetstore.Model.html#userUsername"><span class="hs-identifier">userUsername</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Text</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;username&quot;</span><span>
</span><a name="line-1748"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="userFirstName"><a href="OpenAPIPetstore.Model.html#userFirstName"><span class="hs-identifier">userFirstName</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Text</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;firstName&quot;</span><span>
</span><a name="line-1749"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="userLastName"><a href="OpenAPIPetstore.Model.html#userLastName"><span class="hs-identifier">userLastName</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Text</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;lastName&quot;</span><span>
</span><a name="line-1750"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="userEmail"><a href="OpenAPIPetstore.Model.html#userEmail"><span class="hs-identifier">userEmail</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Text</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;email&quot;</span><span>
</span><a name="line-1751"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="userPassword"><a href="OpenAPIPetstore.Model.html#userPassword"><span class="hs-identifier">userPassword</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Text</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;password&quot;</span><span>
</span><a name="line-1752"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="userPhone"><a href="OpenAPIPetstore.Model.html#userPhone"><span class="hs-identifier">userPhone</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Text</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;phone&quot;</span><span>
</span><a name="line-1753"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="userUserStatus"><a href="OpenAPIPetstore.Model.html#userUserStatus"><span class="hs-identifier">userUserStatus</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Int</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;userStatus&quot; - User Status</span><span>
</span><a name="line-1754"></a><span>  </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Typeable</span><span class="hs-special">)</span><span>
</span><a name="line-1755"></a><span>
</span><a name="line-1756"></a><span class="hs-comment">-- | FromJSON User</span><span>
</span><a name="line-1757"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.FromJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#User"><span class="hs-identifier hs-type">User</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-1758"></a><span>  </span><a name="local-8214565720323822289"><span class="hs-identifier">parseJSON</span></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">A.withObject</span><span> </span><span class="hs-string">&quot;User&quot;</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-glyph">\</span><a name="local-6989586621679141468"><a href="#local-6989586621679141468"><span class="hs-identifier">o</span></a></a><span> </span><span class="hs-glyph">-&gt;</span><span>
</span><a name="line-1759"></a><span>    </span><a href="OpenAPIPetstore.Model.html#User"><span class="hs-identifier hs-var">User</span></a><span>
</span><a name="line-1760"></a><span>      </span><span class="hs-operator hs-var">&lt;$&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141468"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;id&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1761"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141468"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;username&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1762"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141468"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;firstName&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1763"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141468"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;lastName&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1764"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141468"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;email&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1765"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141468"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;password&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1766"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141468"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;phone&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1767"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141468"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;userStatus&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1768"></a><span>
</span><a name="line-1769"></a><span class="hs-comment">-- | ToJSON User</span><span>
</span><a name="line-1770"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.ToJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#User"><span class="hs-identifier hs-type">User</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-1771"></a><span>  </span><a name="local-8214565720323804008"><span class="hs-identifier">toJSON</span></a><span> </span><a href="OpenAPIPetstore.Model.html#User"><span class="hs-identifier hs-var">User</span></a><span> </span><span class="hs-special">{</span><span class="hs-glyph">..</span><span class="hs-special">}</span><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-1772"></a><span>   </span><a href="OpenAPIPetstore.Core.html#_omitNulls"><span class="hs-identifier hs-var">_omitNulls</span></a><span>
</span><a name="line-1773"></a><span>      </span><span class="hs-special">[</span><span> </span><span class="hs-string">&quot;id&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141460"><span class="hs-identifier hs-var">userId</span></a><span>
</span><a name="line-1774"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;username&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141461"><span class="hs-identifier hs-var">userUsername</span></a><span>
</span><a name="line-1775"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;firstName&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141462"><span class="hs-identifier hs-var">userFirstName</span></a><span>
</span><a name="line-1776"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;lastName&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141463"><span class="hs-identifier hs-var">userLastName</span></a><span>
</span><a name="line-1777"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;email&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141464"><span class="hs-identifier hs-var">userEmail</span></a><span>
</span><a name="line-1778"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;password&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141465"><span class="hs-identifier hs-var">userPassword</span></a><span>
</span><a name="line-1779"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;phone&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141466"><span class="hs-identifier hs-var">userPhone</span></a><span>
</span><a name="line-1780"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;userStatus&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141467"><span class="hs-identifier hs-var">userUserStatus</span></a><span>
</span><a name="line-1781"></a><span>      </span><span class="hs-special">]</span><span>
</span><a name="line-1782"></a><span>
</span><a name="line-1783"></a><span>
</span><a name="line-1784"></a><span class="hs-comment">-- | Construct a value of type 'User' (by applying it's required fields, if any)</span><span>
</span><a name="line-1785"></a><span class="hs-identifier">mkUser</span><span>
</span><a name="line-1786"></a><span>  </span><span class="hs-glyph">::</span><span> </span><a href="OpenAPIPetstore.Model.html#User"><span class="hs-identifier hs-type">User</span></a><span>
</span><a name="line-1787"></a><a name="mkUser"><a href="OpenAPIPetstore.Model.html#mkUser"><span class="hs-identifier">mkUser</span></a></a><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-1788"></a><span>  </span><a href="OpenAPIPetstore.Model.html#User"><span class="hs-identifier hs-var">User</span></a><span>
</span><a name="line-1789"></a><span>  </span><span class="hs-special">{</span><span> </span><span class="hs-identifier">userId</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1790"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">userUsername</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1791"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">userFirstName</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1792"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">userLastName</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1793"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">userEmail</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1794"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">userPassword</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1795"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">userPhone</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1796"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">userUserStatus</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1797"></a><span>  </span><span class="hs-special">}</span><span>
</span><a name="line-1798"></a><span>
</span><a name="line-1799"></a><span class="hs-comment">-- ** XmlItem</span><span>
</span><a name="line-1800"></a><span class="hs-comment">-- | XmlItem</span><span>
</span><a name="line-1801"></a><span class="hs-keyword">data</span><span> </span><a name="XmlItem"><a href="OpenAPIPetstore.Model.html#XmlItem"><span class="hs-identifier">XmlItem</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><a name="XmlItem"><a href="OpenAPIPetstore.Model.html#XmlItem"><span class="hs-identifier">XmlItem</span></a></a><span>
</span><a name="line-1802"></a><span>  </span><span class="hs-special">{</span><span> </span><a name="xmlItemAttributeString"><a href="OpenAPIPetstore.Model.html#xmlItemAttributeString"><span class="hs-identifier">xmlItemAttributeString</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Text</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;attribute_string&quot;</span><span>
</span><a name="line-1803"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="xmlItemAttributeNumber"><a href="OpenAPIPetstore.Model.html#xmlItemAttributeNumber"><span class="hs-identifier">xmlItemAttributeNumber</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Double</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;attribute_number&quot;</span><span>
</span><a name="line-1804"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="xmlItemAttributeInteger"><a href="OpenAPIPetstore.Model.html#xmlItemAttributeInteger"><span class="hs-identifier">xmlItemAttributeInteger</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Int</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;attribute_integer&quot;</span><span>
</span><a name="line-1805"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="xmlItemAttributeBoolean"><a href="OpenAPIPetstore.Model.html#xmlItemAttributeBoolean"><span class="hs-identifier">xmlItemAttributeBoolean</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Bool</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;attribute_boolean&quot;</span><span>
</span><a name="line-1806"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="xmlItemWrappedArray"><a href="OpenAPIPetstore.Model.html#xmlItemWrappedArray"><span class="hs-identifier">xmlItemWrappedArray</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-special">[</span><span class="hs-identifier hs-type">Int</span><span class="hs-special">]</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;wrapped_array&quot;</span><span>
</span><a name="line-1807"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="xmlItemNameString"><a href="OpenAPIPetstore.Model.html#xmlItemNameString"><span class="hs-identifier">xmlItemNameString</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Text</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;name_string&quot;</span><span>
</span><a name="line-1808"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="xmlItemNameNumber"><a href="OpenAPIPetstore.Model.html#xmlItemNameNumber"><span class="hs-identifier">xmlItemNameNumber</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Double</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;name_number&quot;</span><span>
</span><a name="line-1809"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="xmlItemNameInteger"><a href="OpenAPIPetstore.Model.html#xmlItemNameInteger"><span class="hs-identifier">xmlItemNameInteger</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Int</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;name_integer&quot;</span><span>
</span><a name="line-1810"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="xmlItemNameBoolean"><a href="OpenAPIPetstore.Model.html#xmlItemNameBoolean"><span class="hs-identifier">xmlItemNameBoolean</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Bool</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;name_boolean&quot;</span><span>
</span><a name="line-1811"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="xmlItemNameArray"><a href="OpenAPIPetstore.Model.html#xmlItemNameArray"><span class="hs-identifier">xmlItemNameArray</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-special">[</span><span class="hs-identifier hs-type">Int</span><span class="hs-special">]</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;name_array&quot;</span><span>
</span><a name="line-1812"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="xmlItemNameWrappedArray"><a href="OpenAPIPetstore.Model.html#xmlItemNameWrappedArray"><span class="hs-identifier">xmlItemNameWrappedArray</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-special">[</span><span class="hs-identifier hs-type">Int</span><span class="hs-special">]</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;name_wrapped_array&quot;</span><span>
</span><a name="line-1813"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="xmlItemPrefixString"><a href="OpenAPIPetstore.Model.html#xmlItemPrefixString"><span class="hs-identifier">xmlItemPrefixString</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Text</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;prefix_string&quot;</span><span>
</span><a name="line-1814"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="xmlItemPrefixNumber"><a href="OpenAPIPetstore.Model.html#xmlItemPrefixNumber"><span class="hs-identifier">xmlItemPrefixNumber</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Double</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;prefix_number&quot;</span><span>
</span><a name="line-1815"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="xmlItemPrefixInteger"><a href="OpenAPIPetstore.Model.html#xmlItemPrefixInteger"><span class="hs-identifier">xmlItemPrefixInteger</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Int</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;prefix_integer&quot;</span><span>
</span><a name="line-1816"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="xmlItemPrefixBoolean"><a href="OpenAPIPetstore.Model.html#xmlItemPrefixBoolean"><span class="hs-identifier">xmlItemPrefixBoolean</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Bool</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;prefix_boolean&quot;</span><span>
</span><a name="line-1817"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="xmlItemPrefixArray"><a href="OpenAPIPetstore.Model.html#xmlItemPrefixArray"><span class="hs-identifier">xmlItemPrefixArray</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-special">[</span><span class="hs-identifier hs-type">Int</span><span class="hs-special">]</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;prefix_array&quot;</span><span>
</span><a name="line-1818"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="xmlItemPrefixWrappedArray"><a href="OpenAPIPetstore.Model.html#xmlItemPrefixWrappedArray"><span class="hs-identifier">xmlItemPrefixWrappedArray</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-special">[</span><span class="hs-identifier hs-type">Int</span><span class="hs-special">]</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;prefix_wrapped_array&quot;</span><span>
</span><a name="line-1819"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="xmlItemNamespaceString"><a href="OpenAPIPetstore.Model.html#xmlItemNamespaceString"><span class="hs-identifier">xmlItemNamespaceString</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Text</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;namespace_string&quot;</span><span>
</span><a name="line-1820"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="xmlItemNamespaceNumber"><a href="OpenAPIPetstore.Model.html#xmlItemNamespaceNumber"><span class="hs-identifier">xmlItemNamespaceNumber</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Double</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;namespace_number&quot;</span><span>
</span><a name="line-1821"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="xmlItemNamespaceInteger"><a href="OpenAPIPetstore.Model.html#xmlItemNamespaceInteger"><span class="hs-identifier">xmlItemNamespaceInteger</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Int</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;namespace_integer&quot;</span><span>
</span><a name="line-1822"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="xmlItemNamespaceBoolean"><a href="OpenAPIPetstore.Model.html#xmlItemNamespaceBoolean"><span class="hs-identifier">xmlItemNamespaceBoolean</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Bool</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;namespace_boolean&quot;</span><span>
</span><a name="line-1823"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="xmlItemNamespaceArray"><a href="OpenAPIPetstore.Model.html#xmlItemNamespaceArray"><span class="hs-identifier">xmlItemNamespaceArray</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-special">[</span><span class="hs-identifier hs-type">Int</span><span class="hs-special">]</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;namespace_array&quot;</span><span>
</span><a name="line-1824"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="xmlItemNamespaceWrappedArray"><a href="OpenAPIPetstore.Model.html#xmlItemNamespaceWrappedArray"><span class="hs-identifier">xmlItemNamespaceWrappedArray</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-special">[</span><span class="hs-identifier hs-type">Int</span><span class="hs-special">]</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;namespace_wrapped_array&quot;</span><span>
</span><a name="line-1825"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="xmlItemPrefixNsString"><a href="OpenAPIPetstore.Model.html#xmlItemPrefixNsString"><span class="hs-identifier">xmlItemPrefixNsString</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Text</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;prefix_ns_string&quot;</span><span>
</span><a name="line-1826"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="xmlItemPrefixNsNumber"><a href="OpenAPIPetstore.Model.html#xmlItemPrefixNsNumber"><span class="hs-identifier">xmlItemPrefixNsNumber</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Double</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;prefix_ns_number&quot;</span><span>
</span><a name="line-1827"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="xmlItemPrefixNsInteger"><a href="OpenAPIPetstore.Model.html#xmlItemPrefixNsInteger"><span class="hs-identifier">xmlItemPrefixNsInteger</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Int</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;prefix_ns_integer&quot;</span><span>
</span><a name="line-1828"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="xmlItemPrefixNsBoolean"><a href="OpenAPIPetstore.Model.html#xmlItemPrefixNsBoolean"><span class="hs-identifier">xmlItemPrefixNsBoolean</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-identifier hs-type">Bool</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;prefix_ns_boolean&quot;</span><span>
</span><a name="line-1829"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="xmlItemPrefixNsArray"><a href="OpenAPIPetstore.Model.html#xmlItemPrefixNsArray"><span class="hs-identifier">xmlItemPrefixNsArray</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-special">[</span><span class="hs-identifier hs-type">Int</span><span class="hs-special">]</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;prefix_ns_array&quot;</span><span>
</span><a name="line-1830"></a><span>  </span><span class="hs-special">,</span><span> </span><a name="xmlItemPrefixNsWrappedArray"><a href="OpenAPIPetstore.Model.html#xmlItemPrefixNsWrappedArray"><span class="hs-identifier">xmlItemPrefixNsWrappedArray</span></a></a><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-glyph">!</span><span class="hs-special">(</span><span class="hs-identifier hs-type">Maybe</span><span> </span><span class="hs-special">[</span><span class="hs-identifier hs-type">Int</span><span class="hs-special">]</span><span class="hs-special">)</span><span> </span><span class="hs-comment">-- ^ &quot;prefix_ns_wrapped_array&quot;</span><span>
</span><a name="line-1831"></a><span>  </span><span class="hs-special">}</span><span> </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Typeable</span><span class="hs-special">)</span><span>
</span><a name="line-1832"></a><span>
</span><a name="line-1833"></a><span class="hs-comment">-- | FromJSON XmlItem</span><span>
</span><a name="line-1834"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.FromJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#XmlItem"><span class="hs-identifier hs-type">XmlItem</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-1835"></a><span>  </span><a name="local-8214565720323822289"><span class="hs-identifier">parseJSON</span></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">A.withObject</span><span> </span><span class="hs-string">&quot;XmlItem&quot;</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-glyph">\</span><a name="local-6989586621679141459"><a href="#local-6989586621679141459"><span class="hs-identifier">o</span></a></a><span> </span><span class="hs-glyph">-&gt;</span><span>
</span><a name="line-1836"></a><span>    </span><a href="OpenAPIPetstore.Model.html#XmlItem"><span class="hs-identifier hs-var">XmlItem</span></a><span>
</span><a name="line-1837"></a><span>      </span><span class="hs-operator hs-var">&lt;$&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141459"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;attribute_string&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1838"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141459"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;attribute_number&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1839"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141459"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;attribute_integer&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1840"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141459"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;attribute_boolean&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1841"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141459"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;wrapped_array&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1842"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141459"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;name_string&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1843"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141459"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;name_number&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1844"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141459"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;name_integer&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1845"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141459"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;name_boolean&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1846"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141459"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;name_array&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1847"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141459"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;name_wrapped_array&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1848"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141459"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;prefix_string&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1849"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141459"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;prefix_number&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1850"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141459"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;prefix_integer&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1851"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141459"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;prefix_boolean&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1852"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141459"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;prefix_array&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1853"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141459"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;prefix_wrapped_array&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1854"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141459"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;namespace_string&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1855"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141459"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;namespace_number&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1856"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141459"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;namespace_integer&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1857"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141459"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;namespace_boolean&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1858"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141459"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;namespace_array&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1859"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141459"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;namespace_wrapped_array&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1860"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141459"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;prefix_ns_string&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1861"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141459"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;prefix_ns_number&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1862"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141459"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;prefix_ns_integer&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1863"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141459"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;prefix_ns_boolean&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1864"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141459"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;prefix_ns_array&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1865"></a><span>      </span><span class="hs-operator hs-var">&lt;*&gt;</span><span> </span><span class="hs-special">(</span><a href="#local-6989586621679141459"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">.:?</span><span> </span><span class="hs-string">&quot;prefix_ns_wrapped_array&quot;</span><span class="hs-special">)</span><span>
</span><a name="line-1866"></a><span>
</span><a name="line-1867"></a><span class="hs-comment">-- | ToJSON XmlItem</span><span>
</span><a name="line-1868"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.ToJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#XmlItem"><span class="hs-identifier hs-type">XmlItem</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-1869"></a><span>  </span><a name="local-8214565720323804008"><span class="hs-identifier">toJSON</span></a><span> </span><a href="OpenAPIPetstore.Model.html#XmlItem"><span class="hs-identifier hs-var">XmlItem</span></a><span> </span><span class="hs-special">{</span><span class="hs-glyph">..</span><span class="hs-special">}</span><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-1870"></a><span>   </span><a href="OpenAPIPetstore.Core.html#_omitNulls"><span class="hs-identifier hs-var">_omitNulls</span></a><span>
</span><a name="line-1871"></a><span>      </span><span class="hs-special">[</span><span> </span><span class="hs-string">&quot;attribute_string&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141430"><span class="hs-identifier hs-var">xmlItemAttributeString</span></a><span>
</span><a name="line-1872"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;attribute_number&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141431"><span class="hs-identifier hs-var">xmlItemAttributeNumber</span></a><span>
</span><a name="line-1873"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;attribute_integer&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141432"><span class="hs-identifier hs-var">xmlItemAttributeInteger</span></a><span>
</span><a name="line-1874"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;attribute_boolean&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141433"><span class="hs-identifier hs-var">xmlItemAttributeBoolean</span></a><span>
</span><a name="line-1875"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;wrapped_array&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141434"><span class="hs-identifier hs-var">xmlItemWrappedArray</span></a><span>
</span><a name="line-1876"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;name_string&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141435"><span class="hs-identifier hs-var">xmlItemNameString</span></a><span>
</span><a name="line-1877"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;name_number&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141436"><span class="hs-identifier hs-var">xmlItemNameNumber</span></a><span>
</span><a name="line-1878"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;name_integer&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141437"><span class="hs-identifier hs-var">xmlItemNameInteger</span></a><span>
</span><a name="line-1879"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;name_boolean&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141438"><span class="hs-identifier hs-var">xmlItemNameBoolean</span></a><span>
</span><a name="line-1880"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;name_array&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141439"><span class="hs-identifier hs-var">xmlItemNameArray</span></a><span>
</span><a name="line-1881"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;name_wrapped_array&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141440"><span class="hs-identifier hs-var">xmlItemNameWrappedArray</span></a><span>
</span><a name="line-1882"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;prefix_string&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141441"><span class="hs-identifier hs-var">xmlItemPrefixString</span></a><span>
</span><a name="line-1883"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;prefix_number&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141442"><span class="hs-identifier hs-var">xmlItemPrefixNumber</span></a><span>
</span><a name="line-1884"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;prefix_integer&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141443"><span class="hs-identifier hs-var">xmlItemPrefixInteger</span></a><span>
</span><a name="line-1885"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;prefix_boolean&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141444"><span class="hs-identifier hs-var">xmlItemPrefixBoolean</span></a><span>
</span><a name="line-1886"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;prefix_array&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141445"><span class="hs-identifier hs-var">xmlItemPrefixArray</span></a><span>
</span><a name="line-1887"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;prefix_wrapped_array&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141446"><span class="hs-identifier hs-var">xmlItemPrefixWrappedArray</span></a><span>
</span><a name="line-1888"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;namespace_string&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141447"><span class="hs-identifier hs-var">xmlItemNamespaceString</span></a><span>
</span><a name="line-1889"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;namespace_number&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141448"><span class="hs-identifier hs-var">xmlItemNamespaceNumber</span></a><span>
</span><a name="line-1890"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;namespace_integer&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141449"><span class="hs-identifier hs-var">xmlItemNamespaceInteger</span></a><span>
</span><a name="line-1891"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;namespace_boolean&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141450"><span class="hs-identifier hs-var">xmlItemNamespaceBoolean</span></a><span>
</span><a name="line-1892"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;namespace_array&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141451"><span class="hs-identifier hs-var">xmlItemNamespaceArray</span></a><span>
</span><a name="line-1893"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;namespace_wrapped_array&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141452"><span class="hs-identifier hs-var">xmlItemNamespaceWrappedArray</span></a><span>
</span><a name="line-1894"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;prefix_ns_string&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141453"><span class="hs-identifier hs-var">xmlItemPrefixNsString</span></a><span>
</span><a name="line-1895"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;prefix_ns_number&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141454"><span class="hs-identifier hs-var">xmlItemPrefixNsNumber</span></a><span>
</span><a name="line-1896"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;prefix_ns_integer&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141455"><span class="hs-identifier hs-var">xmlItemPrefixNsInteger</span></a><span>
</span><a name="line-1897"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;prefix_ns_boolean&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141456"><span class="hs-identifier hs-var">xmlItemPrefixNsBoolean</span></a><span>
</span><a name="line-1898"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;prefix_ns_array&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141457"><span class="hs-identifier hs-var">xmlItemPrefixNsArray</span></a><span>
</span><a name="line-1899"></a><span>      </span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;prefix_ns_wrapped_array&quot;</span><span> </span><span class="hs-operator hs-var">.=</span><span> </span><a href="#local-6989586621679141458"><span class="hs-identifier hs-var">xmlItemPrefixNsWrappedArray</span></a><span>
</span><a name="line-1900"></a><span>      </span><span class="hs-special">]</span><span>
</span><a name="line-1901"></a><span>
</span><a name="line-1902"></a><span>
</span><a name="line-1903"></a><span class="hs-comment">-- | Construct a value of type 'XmlItem' (by applying it's required fields, if any)</span><span>
</span><a name="line-1904"></a><span class="hs-identifier">mkXmlItem</span><span>
</span><a name="line-1905"></a><span>  </span><span class="hs-glyph">::</span><span> </span><a href="OpenAPIPetstore.Model.html#XmlItem"><span class="hs-identifier hs-type">XmlItem</span></a><span>
</span><a name="line-1906"></a><a name="mkXmlItem"><a href="OpenAPIPetstore.Model.html#mkXmlItem"><span class="hs-identifier">mkXmlItem</span></a></a><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-1907"></a><span>  </span><a href="OpenAPIPetstore.Model.html#XmlItem"><span class="hs-identifier hs-var">XmlItem</span></a><span>
</span><a name="line-1908"></a><span>  </span><span class="hs-special">{</span><span> </span><span class="hs-identifier">xmlItemAttributeString</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1909"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">xmlItemAttributeNumber</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1910"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">xmlItemAttributeInteger</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1911"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">xmlItemAttributeBoolean</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1912"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">xmlItemWrappedArray</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1913"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">xmlItemNameString</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1914"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">xmlItemNameNumber</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1915"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">xmlItemNameInteger</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1916"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">xmlItemNameBoolean</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1917"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">xmlItemNameArray</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1918"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">xmlItemNameWrappedArray</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1919"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">xmlItemPrefixString</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1920"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">xmlItemPrefixNumber</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1921"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">xmlItemPrefixInteger</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1922"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">xmlItemPrefixBoolean</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1923"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">xmlItemPrefixArray</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1924"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">xmlItemPrefixWrappedArray</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1925"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">xmlItemNamespaceString</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1926"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">xmlItemNamespaceNumber</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1927"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">xmlItemNamespaceInteger</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1928"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">xmlItemNamespaceBoolean</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1929"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">xmlItemNamespaceArray</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1930"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">xmlItemNamespaceWrappedArray</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1931"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">xmlItemPrefixNsString</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1932"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">xmlItemPrefixNsNumber</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1933"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">xmlItemPrefixNsInteger</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1934"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">xmlItemPrefixNsBoolean</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1935"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">xmlItemPrefixNsArray</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1936"></a><span>  </span><span class="hs-special">,</span><span> </span><span class="hs-identifier">xmlItemPrefixNsWrappedArray</span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">Nothing</span><span>
</span><a name="line-1937"></a><span>  </span><span class="hs-special">}</span><span>
</span><a name="line-1938"></a><span>
</span><a name="line-1939"></a><span>
</span><a name="line-1940"></a><span class="hs-comment">-- * Enums</span><span>
</span><a name="line-1941"></a><span>
</span><a name="line-1942"></a><span>
</span><a name="line-1943"></a><span class="hs-comment">-- ** E'ArrayEnum</span><span>
</span><a name="line-1944"></a><span>
</span><a name="line-1945"></a><span class="hs-comment">-- | Enum of 'Text'</span><span>
</span><a name="line-1946"></a><span class="hs-keyword">data</span><span> </span><a name="E%27ArrayEnum"><a href="OpenAPIPetstore.Model.html#E%27ArrayEnum"><span class="hs-identifier">E'ArrayEnum</span></a></a><span>
</span><a name="line-1947"></a><span>  </span><span class="hs-glyph">=</span><span> </span><a name="E%27ArrayEnum%27Fish"><a href="OpenAPIPetstore.Model.html#E%27ArrayEnum%27Fish"><span class="hs-identifier">E'ArrayEnum'Fish</span></a></a><span> </span><span class="hs-comment">-- ^ @&quot;fish&quot;@</span><span>
</span><a name="line-1948"></a><span>  </span><span class="hs-glyph">|</span><span> </span><a name="E%27ArrayEnum%27Crab"><a href="OpenAPIPetstore.Model.html#E%27ArrayEnum%27Crab"><span class="hs-identifier">E'ArrayEnum'Crab</span></a></a><span> </span><span class="hs-comment">-- ^ @&quot;crab&quot;@</span><span>
</span><a name="line-1949"></a><span>  </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Typeable</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Ord</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Bounded</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Enum</span><span class="hs-special">)</span><span>
</span><a name="line-1950"></a><span>
</span><a name="line-1951"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.ToJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27ArrayEnum"><span class="hs-identifier hs-type">E'ArrayEnum</span></a><span> </span><span class="hs-keyword">where</span><span> </span><a name="local-8214565720323804008"><span class="hs-identifier">toJSON</span></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">A.toJSON</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><a href="OpenAPIPetstore.Model.html#fromE%27ArrayEnum"><span class="hs-identifier hs-var">fromE'ArrayEnum</span></a><span>
</span><a name="line-1952"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.FromJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27ArrayEnum"><span class="hs-identifier hs-type">E'ArrayEnum</span></a><span> </span><span class="hs-keyword">where</span><span> </span><a name="local-8214565720323822289"><span class="hs-identifier">parseJSON</span></a><span> </span><a name="local-6989586621679141429"><a href="#local-6989586621679141429"><span class="hs-identifier">o</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">P.either</span><span> </span><span class="hs-identifier hs-var">P.fail</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-var">pure</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><span class="hs-identifier hs-var">P.id</span><span class="hs-special">)</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><a href="OpenAPIPetstore.Model.html#toE%27ArrayEnum"><span class="hs-identifier hs-var">toE'ArrayEnum</span></a><span> </span><span class="hs-operator hs-var">=&lt;&lt;</span><span> </span><span class="hs-identifier hs-var">A.parseJSON</span><span> </span><a href="#local-6989586621679141429"><span class="hs-identifier hs-var">o</span></a><span>
</span><a name="line-1953"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">WH.ToHttpApiData</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27ArrayEnum"><span class="hs-identifier hs-type">E'ArrayEnum</span></a><span> </span><span class="hs-keyword">where</span><span> </span><a name="local-8214565720323827196"><span class="hs-identifier">toQueryParam</span></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">WH.toQueryParam</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><a href="OpenAPIPetstore.Model.html#fromE%27ArrayEnum"><span class="hs-identifier hs-var">fromE'ArrayEnum</span></a><span>
</span><a name="line-1954"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">WH.FromHttpApiData</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27ArrayEnum"><span class="hs-identifier hs-type">E'ArrayEnum</span></a><span> </span><span class="hs-keyword">where</span><span> </span><a name="local-8214565720323827188"><span class="hs-identifier">parseQueryParam</span></a><span> </span><a name="local-6989586621679141428"><a href="#local-6989586621679141428"><span class="hs-identifier">o</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">WH.parseQueryParam</span><span> </span><a href="#local-6989586621679141428"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">&gt;&gt;=</span><span> </span><span class="hs-identifier hs-var">P.left</span><span> </span><span class="hs-identifier hs-var">T.pack</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><a href="OpenAPIPetstore.Model.html#toE%27ArrayEnum"><span class="hs-identifier hs-var">toE'ArrayEnum</span></a><span>
</span><a name="line-1955"></a><span class="hs-keyword">instance</span><span> </span><a href="OpenAPIPetstore.MimeTypes.html#MimeRender"><span class="hs-identifier hs-type">MimeRender</span></a><span> </span><a href="OpenAPIPetstore.MimeTypes.html#MimeMultipartFormData"><span class="hs-identifier hs-type">MimeMultipartFormData</span></a><span> </span><a href="OpenAPIPetstore.Model.html#E%27ArrayEnum"><span class="hs-identifier hs-type">E'ArrayEnum</span></a><span> </span><span class="hs-keyword">where</span><span> </span><a name="local-8214565720323850588"><a href="OpenAPIPetstore.MimeTypes.html#mimeRender"><span class="hs-identifier">mimeRender</span></a></a><span> </span><span class="hs-identifier">_</span><span> </span><span class="hs-glyph">=</span><span> </span><a href="OpenAPIPetstore.MimeTypes.html#mimeRenderDefaultMultipartFormData"><span class="hs-identifier hs-var">mimeRenderDefaultMultipartFormData</span></a><span>
</span><a name="line-1956"></a><span>
</span><a name="line-1957"></a><span class="hs-comment">-- | unwrap 'E'ArrayEnum' enum</span><span>
</span><a name="line-1958"></a><span class="hs-identifier">fromE'ArrayEnum</span><span> </span><span class="hs-glyph">::</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27ArrayEnum"><span class="hs-identifier hs-type">E'ArrayEnum</span></a><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-type">Text</span><span>
</span><a name="line-1959"></a><a name="fromE%27ArrayEnum"><a href="OpenAPIPetstore.Model.html#fromE%27ArrayEnum"><span class="hs-identifier">fromE'ArrayEnum</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-glyph">\</span><span class="hs-glyph">case</span><span>
</span><a name="line-1960"></a><span>  </span><a href="OpenAPIPetstore.Model.html#E%27ArrayEnum%27Fish"><span class="hs-identifier hs-var">E'ArrayEnum'Fish</span></a><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-string">&quot;fish&quot;</span><span>
</span><a name="line-1961"></a><span>  </span><a href="OpenAPIPetstore.Model.html#E%27ArrayEnum%27Crab"><span class="hs-identifier hs-var">E'ArrayEnum'Crab</span></a><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-string">&quot;crab&quot;</span><span>
</span><a name="line-1962"></a><span>
</span><a name="line-1963"></a><span class="hs-comment">-- | parse 'E'ArrayEnum' enum</span><span>
</span><a name="line-1964"></a><span class="hs-identifier">toE'ArrayEnum</span><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier hs-type">Text</span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-type">P.Either</span><span> </span><span class="hs-identifier hs-type">String</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27ArrayEnum"><span class="hs-identifier hs-type">E'ArrayEnum</span></a><span>
</span><a name="line-1965"></a><a name="toE%27ArrayEnum"><a href="OpenAPIPetstore.Model.html#toE%27ArrayEnum"><span class="hs-identifier">toE'ArrayEnum</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-glyph">\</span><span class="hs-glyph">case</span><span>
</span><a name="line-1966"></a><span>  </span><span class="hs-string">&quot;fish&quot;</span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-var">P.Right</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27ArrayEnum%27Fish"><span class="hs-identifier hs-var">E'ArrayEnum'Fish</span></a><span>
</span><a name="line-1967"></a><span>  </span><span class="hs-string">&quot;crab&quot;</span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-var">P.Right</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27ArrayEnum%27Crab"><span class="hs-identifier hs-var">E'ArrayEnum'Crab</span></a><span>
</span><a name="line-1968"></a><span>  </span><a name="local-6989586621679141653"><a href="#local-6989586621679141653"><span class="hs-identifier">s</span></a></a><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-var">P.Left</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-string">&quot;toE'ArrayEnum: enum parse failure: &quot;</span><span> </span><span class="hs-operator hs-var">P.++</span><span> </span><span class="hs-identifier hs-var">P.show</span><span> </span><a href="#local-6989586621679141653"><span class="hs-identifier hs-var">s</span></a><span>
</span><a name="line-1969"></a><span>
</span><a name="line-1970"></a><span>
</span><a name="line-1971"></a><span class="hs-comment">-- ** E'EnumFormString</span><span>
</span><a name="line-1972"></a><span>
</span><a name="line-1973"></a><span class="hs-comment">-- | Enum of 'Text' . </span><span>
</span><a name="line-1974"></a><span class="hs-comment">-- Form parameter enum test (string)</span><span>
</span><a name="line-1975"></a><span class="hs-keyword">data</span><span> </span><a name="E%27EnumFormString"><a href="OpenAPIPetstore.Model.html#E%27EnumFormString"><span class="hs-identifier">E'EnumFormString</span></a></a><span>
</span><a name="line-1976"></a><span>  </span><span class="hs-glyph">=</span><span> </span><a name="E%27EnumFormString%27_abc"><a href="OpenAPIPetstore.Model.html#E%27EnumFormString%27_abc"><span class="hs-identifier">E'EnumFormString'_abc</span></a></a><span> </span><span class="hs-comment">-- ^ @&quot;_abc&quot;@</span><span>
</span><a name="line-1977"></a><span>  </span><span class="hs-glyph">|</span><span> </span><a name="E%27EnumFormString%27_efg"><a href="OpenAPIPetstore.Model.html#E%27EnumFormString%27_efg"><span class="hs-identifier">E'EnumFormString'_efg</span></a></a><span> </span><span class="hs-comment">-- ^ @&quot;-efg&quot;@</span><span>
</span><a name="line-1978"></a><span>  </span><span class="hs-glyph">|</span><span> </span><a name="E%27EnumFormString%27_xyz"><a href="OpenAPIPetstore.Model.html#E%27EnumFormString%27_xyz"><span class="hs-identifier">E'EnumFormString'_xyz</span></a></a><span> </span><span class="hs-comment">-- ^ @&quot;(xyz)&quot;@</span><span>
</span><a name="line-1979"></a><span>  </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Typeable</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Ord</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Bounded</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Enum</span><span class="hs-special">)</span><span>
</span><a name="line-1980"></a><span>
</span><a name="line-1981"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.ToJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27EnumFormString"><span class="hs-identifier hs-type">E'EnumFormString</span></a><span> </span><span class="hs-keyword">where</span><span> </span><a name="local-8214565720323804008"><span class="hs-identifier">toJSON</span></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">A.toJSON</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><a href="OpenAPIPetstore.Model.html#fromE%27EnumFormString"><span class="hs-identifier hs-var">fromE'EnumFormString</span></a><span>
</span><a name="line-1982"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.FromJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27EnumFormString"><span class="hs-identifier hs-type">E'EnumFormString</span></a><span> </span><span class="hs-keyword">where</span><span> </span><a name="local-8214565720323822289"><span class="hs-identifier">parseJSON</span></a><span> </span><a name="local-6989586621679141427"><a href="#local-6989586621679141427"><span class="hs-identifier">o</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">P.either</span><span> </span><span class="hs-identifier hs-var">P.fail</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-var">pure</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><span class="hs-identifier hs-var">P.id</span><span class="hs-special">)</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><a href="OpenAPIPetstore.Model.html#toE%27EnumFormString"><span class="hs-identifier hs-var">toE'EnumFormString</span></a><span> </span><span class="hs-operator hs-var">=&lt;&lt;</span><span> </span><span class="hs-identifier hs-var">A.parseJSON</span><span> </span><a href="#local-6989586621679141427"><span class="hs-identifier hs-var">o</span></a><span>
</span><a name="line-1983"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">WH.ToHttpApiData</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27EnumFormString"><span class="hs-identifier hs-type">E'EnumFormString</span></a><span> </span><span class="hs-keyword">where</span><span> </span><a name="local-8214565720323827196"><span class="hs-identifier">toQueryParam</span></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">WH.toQueryParam</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><a href="OpenAPIPetstore.Model.html#fromE%27EnumFormString"><span class="hs-identifier hs-var">fromE'EnumFormString</span></a><span>
</span><a name="line-1984"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">WH.FromHttpApiData</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27EnumFormString"><span class="hs-identifier hs-type">E'EnumFormString</span></a><span> </span><span class="hs-keyword">where</span><span> </span><a name="local-8214565720323827188"><span class="hs-identifier">parseQueryParam</span></a><span> </span><a name="local-6989586621679141426"><a href="#local-6989586621679141426"><span class="hs-identifier">o</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">WH.parseQueryParam</span><span> </span><a href="#local-6989586621679141426"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">&gt;&gt;=</span><span> </span><span class="hs-identifier hs-var">P.left</span><span> </span><span class="hs-identifier hs-var">T.pack</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><a href="OpenAPIPetstore.Model.html#toE%27EnumFormString"><span class="hs-identifier hs-var">toE'EnumFormString</span></a><span>
</span><a name="line-1985"></a><span class="hs-keyword">instance</span><span> </span><a href="OpenAPIPetstore.MimeTypes.html#MimeRender"><span class="hs-identifier hs-type">MimeRender</span></a><span> </span><a href="OpenAPIPetstore.MimeTypes.html#MimeMultipartFormData"><span class="hs-identifier hs-type">MimeMultipartFormData</span></a><span> </span><a href="OpenAPIPetstore.Model.html#E%27EnumFormString"><span class="hs-identifier hs-type">E'EnumFormString</span></a><span> </span><span class="hs-keyword">where</span><span> </span><a name="local-8214565720323850588"><a href="OpenAPIPetstore.MimeTypes.html#mimeRender"><span class="hs-identifier">mimeRender</span></a></a><span> </span><span class="hs-identifier">_</span><span> </span><span class="hs-glyph">=</span><span> </span><a href="OpenAPIPetstore.MimeTypes.html#mimeRenderDefaultMultipartFormData"><span class="hs-identifier hs-var">mimeRenderDefaultMultipartFormData</span></a><span>
</span><a name="line-1986"></a><span>
</span><a name="line-1987"></a><span class="hs-comment">-- | unwrap 'E'EnumFormString' enum</span><span>
</span><a name="line-1988"></a><span class="hs-identifier">fromE'EnumFormString</span><span> </span><span class="hs-glyph">::</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27EnumFormString"><span class="hs-identifier hs-type">E'EnumFormString</span></a><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-type">Text</span><span>
</span><a name="line-1989"></a><a name="fromE%27EnumFormString"><a href="OpenAPIPetstore.Model.html#fromE%27EnumFormString"><span class="hs-identifier">fromE'EnumFormString</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-glyph">\</span><span class="hs-glyph">case</span><span>
</span><a name="line-1990"></a><span>  </span><a href="OpenAPIPetstore.Model.html#E%27EnumFormString%27_abc"><span class="hs-identifier hs-var">E'EnumFormString'_abc</span></a><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-string">&quot;_abc&quot;</span><span>
</span><a name="line-1991"></a><span>  </span><a href="OpenAPIPetstore.Model.html#E%27EnumFormString%27_efg"><span class="hs-identifier hs-var">E'EnumFormString'_efg</span></a><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-string">&quot;-efg&quot;</span><span>
</span><a name="line-1992"></a><span>  </span><a href="OpenAPIPetstore.Model.html#E%27EnumFormString%27_xyz"><span class="hs-identifier hs-var">E'EnumFormString'_xyz</span></a><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-string">&quot;(xyz)&quot;</span><span>
</span><a name="line-1993"></a><span>
</span><a name="line-1994"></a><span class="hs-comment">-- | parse 'E'EnumFormString' enum</span><span>
</span><a name="line-1995"></a><span class="hs-identifier">toE'EnumFormString</span><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier hs-type">Text</span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-type">P.Either</span><span> </span><span class="hs-identifier hs-type">String</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27EnumFormString"><span class="hs-identifier hs-type">E'EnumFormString</span></a><span>
</span><a name="line-1996"></a><a name="toE%27EnumFormString"><a href="OpenAPIPetstore.Model.html#toE%27EnumFormString"><span class="hs-identifier">toE'EnumFormString</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-glyph">\</span><span class="hs-glyph">case</span><span>
</span><a name="line-1997"></a><span>  </span><span class="hs-string">&quot;_abc&quot;</span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-var">P.Right</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27EnumFormString%27_abc"><span class="hs-identifier hs-var">E'EnumFormString'_abc</span></a><span>
</span><a name="line-1998"></a><span>  </span><span class="hs-string">&quot;-efg&quot;</span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-var">P.Right</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27EnumFormString%27_efg"><span class="hs-identifier hs-var">E'EnumFormString'_efg</span></a><span>
</span><a name="line-1999"></a><span>  </span><span class="hs-string">&quot;(xyz)&quot;</span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-var">P.Right</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27EnumFormString%27_xyz"><span class="hs-identifier hs-var">E'EnumFormString'_xyz</span></a><span>
</span><a name="line-2000"></a><span>  </span><a name="local-6989586621679141654"><a href="#local-6989586621679141654"><span class="hs-identifier">s</span></a></a><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-var">P.Left</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-string">&quot;toE'EnumFormString: enum parse failure: &quot;</span><span> </span><span class="hs-operator hs-var">P.++</span><span> </span><span class="hs-identifier hs-var">P.show</span><span> </span><a href="#local-6989586621679141654"><span class="hs-identifier hs-var">s</span></a><span>
</span><a name="line-2001"></a><span>
</span><a name="line-2002"></a><span>
</span><a name="line-2003"></a><span class="hs-comment">-- ** E'EnumFormStringArray</span><span>
</span><a name="line-2004"></a><span>
</span><a name="line-2005"></a><span class="hs-comment">-- | Enum of 'Text'</span><span>
</span><a name="line-2006"></a><span class="hs-keyword">data</span><span> </span><a name="E%27EnumFormStringArray"><a href="OpenAPIPetstore.Model.html#E%27EnumFormStringArray"><span class="hs-identifier">E'EnumFormStringArray</span></a></a><span>
</span><a name="line-2007"></a><span>  </span><span class="hs-glyph">=</span><span> </span><a name="E%27EnumFormStringArray%27GreaterThan"><a href="OpenAPIPetstore.Model.html#E%27EnumFormStringArray%27GreaterThan"><span class="hs-identifier">E'EnumFormStringArray'GreaterThan</span></a></a><span> </span><span class="hs-comment">-- ^ @&quot;&gt;&quot;@</span><span>
</span><a name="line-2008"></a><span>  </span><span class="hs-glyph">|</span><span> </span><a name="E%27EnumFormStringArray%27Dollar"><a href="OpenAPIPetstore.Model.html#E%27EnumFormStringArray%27Dollar"><span class="hs-identifier">E'EnumFormStringArray'Dollar</span></a></a><span> </span><span class="hs-comment">-- ^ @&quot;$&quot;@</span><span>
</span><a name="line-2009"></a><span>  </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Typeable</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Ord</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Bounded</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Enum</span><span class="hs-special">)</span><span>
</span><a name="line-2010"></a><span>
</span><a name="line-2011"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.ToJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27EnumFormStringArray"><span class="hs-identifier hs-type">E'EnumFormStringArray</span></a><span> </span><span class="hs-keyword">where</span><span> </span><a name="local-8214565720323804008"><span class="hs-identifier">toJSON</span></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">A.toJSON</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><a href="OpenAPIPetstore.Model.html#fromE%27EnumFormStringArray"><span class="hs-identifier hs-var">fromE'EnumFormStringArray</span></a><span>
</span><a name="line-2012"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.FromJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27EnumFormStringArray"><span class="hs-identifier hs-type">E'EnumFormStringArray</span></a><span> </span><span class="hs-keyword">where</span><span> </span><a name="local-8214565720323822289"><span class="hs-identifier">parseJSON</span></a><span> </span><a name="local-6989586621679141425"><a href="#local-6989586621679141425"><span class="hs-identifier">o</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">P.either</span><span> </span><span class="hs-identifier hs-var">P.fail</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-var">pure</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><span class="hs-identifier hs-var">P.id</span><span class="hs-special">)</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><a href="OpenAPIPetstore.Model.html#toE%27EnumFormStringArray"><span class="hs-identifier hs-var">toE'EnumFormStringArray</span></a><span> </span><span class="hs-operator hs-var">=&lt;&lt;</span><span> </span><span class="hs-identifier hs-var">A.parseJSON</span><span> </span><a href="#local-6989586621679141425"><span class="hs-identifier hs-var">o</span></a><span>
</span><a name="line-2013"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">WH.ToHttpApiData</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27EnumFormStringArray"><span class="hs-identifier hs-type">E'EnumFormStringArray</span></a><span> </span><span class="hs-keyword">where</span><span> </span><a name="local-8214565720323827196"><span class="hs-identifier">toQueryParam</span></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">WH.toQueryParam</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><a href="OpenAPIPetstore.Model.html#fromE%27EnumFormStringArray"><span class="hs-identifier hs-var">fromE'EnumFormStringArray</span></a><span>
</span><a name="line-2014"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">WH.FromHttpApiData</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27EnumFormStringArray"><span class="hs-identifier hs-type">E'EnumFormStringArray</span></a><span> </span><span class="hs-keyword">where</span><span> </span><a name="local-8214565720323827188"><span class="hs-identifier">parseQueryParam</span></a><span> </span><a name="local-6989586621679141424"><a href="#local-6989586621679141424"><span class="hs-identifier">o</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">WH.parseQueryParam</span><span> </span><a href="#local-6989586621679141424"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">&gt;&gt;=</span><span> </span><span class="hs-identifier hs-var">P.left</span><span> </span><span class="hs-identifier hs-var">T.pack</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><a href="OpenAPIPetstore.Model.html#toE%27EnumFormStringArray"><span class="hs-identifier hs-var">toE'EnumFormStringArray</span></a><span>
</span><a name="line-2015"></a><span class="hs-keyword">instance</span><span> </span><a href="OpenAPIPetstore.MimeTypes.html#MimeRender"><span class="hs-identifier hs-type">MimeRender</span></a><span> </span><a href="OpenAPIPetstore.MimeTypes.html#MimeMultipartFormData"><span class="hs-identifier hs-type">MimeMultipartFormData</span></a><span> </span><a href="OpenAPIPetstore.Model.html#E%27EnumFormStringArray"><span class="hs-identifier hs-type">E'EnumFormStringArray</span></a><span> </span><span class="hs-keyword">where</span><span> </span><a name="local-8214565720323850588"><a href="OpenAPIPetstore.MimeTypes.html#mimeRender"><span class="hs-identifier">mimeRender</span></a></a><span> </span><span class="hs-identifier">_</span><span> </span><span class="hs-glyph">=</span><span> </span><a href="OpenAPIPetstore.MimeTypes.html#mimeRenderDefaultMultipartFormData"><span class="hs-identifier hs-var">mimeRenderDefaultMultipartFormData</span></a><span>
</span><a name="line-2016"></a><span>
</span><a name="line-2017"></a><span class="hs-comment">-- | unwrap 'E'EnumFormStringArray' enum</span><span>
</span><a name="line-2018"></a><span class="hs-identifier">fromE'EnumFormStringArray</span><span> </span><span class="hs-glyph">::</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27EnumFormStringArray"><span class="hs-identifier hs-type">E'EnumFormStringArray</span></a><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-type">Text</span><span>
</span><a name="line-2019"></a><a name="fromE%27EnumFormStringArray"><a href="OpenAPIPetstore.Model.html#fromE%27EnumFormStringArray"><span class="hs-identifier">fromE'EnumFormStringArray</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-glyph">\</span><span class="hs-glyph">case</span><span>
</span><a name="line-2020"></a><span>  </span><a href="OpenAPIPetstore.Model.html#E%27EnumFormStringArray%27GreaterThan"><span class="hs-identifier hs-var">E'EnumFormStringArray'GreaterThan</span></a><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-string">&quot;&gt;&quot;</span><span>
</span><a name="line-2021"></a><span>  </span><a href="OpenAPIPetstore.Model.html#E%27EnumFormStringArray%27Dollar"><span class="hs-identifier hs-var">E'EnumFormStringArray'Dollar</span></a><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-string">&quot;$&quot;</span><span>
</span><a name="line-2022"></a><span>
</span><a name="line-2023"></a><span class="hs-comment">-- | parse 'E'EnumFormStringArray' enum</span><span>
</span><a name="line-2024"></a><span class="hs-identifier">toE'EnumFormStringArray</span><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier hs-type">Text</span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-type">P.Either</span><span> </span><span class="hs-identifier hs-type">String</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27EnumFormStringArray"><span class="hs-identifier hs-type">E'EnumFormStringArray</span></a><span>
</span><a name="line-2025"></a><a name="toE%27EnumFormStringArray"><a href="OpenAPIPetstore.Model.html#toE%27EnumFormStringArray"><span class="hs-identifier">toE'EnumFormStringArray</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-glyph">\</span><span class="hs-glyph">case</span><span>
</span><a name="line-2026"></a><span>  </span><span class="hs-string">&quot;&gt;&quot;</span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-var">P.Right</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27EnumFormStringArray%27GreaterThan"><span class="hs-identifier hs-var">E'EnumFormStringArray'GreaterThan</span></a><span>
</span><a name="line-2027"></a><span>  </span><span class="hs-string">&quot;$&quot;</span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-var">P.Right</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27EnumFormStringArray%27Dollar"><span class="hs-identifier hs-var">E'EnumFormStringArray'Dollar</span></a><span>
</span><a name="line-2028"></a><span>  </span><a name="local-6989586621679141655"><a href="#local-6989586621679141655"><span class="hs-identifier">s</span></a></a><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-var">P.Left</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-string">&quot;toE'EnumFormStringArray: enum parse failure: &quot;</span><span> </span><span class="hs-operator hs-var">P.++</span><span> </span><span class="hs-identifier hs-var">P.show</span><span> </span><a href="#local-6989586621679141655"><span class="hs-identifier hs-var">s</span></a><span>
</span><a name="line-2029"></a><span>
</span><a name="line-2030"></a><span>
</span><a name="line-2031"></a><span class="hs-comment">-- ** E'EnumInteger</span><span>
</span><a name="line-2032"></a><span>
</span><a name="line-2033"></a><span class="hs-comment">-- | Enum of 'Int'</span><span>
</span><a name="line-2034"></a><span class="hs-keyword">data</span><span> </span><a name="E%27EnumInteger"><a href="OpenAPIPetstore.Model.html#E%27EnumInteger"><span class="hs-identifier">E'EnumInteger</span></a></a><span>
</span><a name="line-2035"></a><span>  </span><span class="hs-glyph">=</span><span> </span><a name="E%27EnumInteger%27Num1"><a href="OpenAPIPetstore.Model.html#E%27EnumInteger%27Num1"><span class="hs-identifier">E'EnumInteger'Num1</span></a></a><span> </span><span class="hs-comment">-- ^ @1@</span><span>
</span><a name="line-2036"></a><span>  </span><span class="hs-glyph">|</span><span> </span><a name="E%27EnumInteger%27NumMinus_1"><a href="OpenAPIPetstore.Model.html#E%27EnumInteger%27NumMinus_1"><span class="hs-identifier">E'EnumInteger'NumMinus_1</span></a></a><span> </span><span class="hs-comment">-- ^ @-1@</span><span>
</span><a name="line-2037"></a><span>  </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Typeable</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Ord</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Bounded</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Enum</span><span class="hs-special">)</span><span>
</span><a name="line-2038"></a><span>
</span><a name="line-2039"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.ToJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27EnumInteger"><span class="hs-identifier hs-type">E'EnumInteger</span></a><span> </span><span class="hs-keyword">where</span><span> </span><a name="local-8214565720323804008"><span class="hs-identifier">toJSON</span></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">A.toJSON</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><a href="OpenAPIPetstore.Model.html#fromE%27EnumInteger"><span class="hs-identifier hs-var">fromE'EnumInteger</span></a><span>
</span><a name="line-2040"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.FromJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27EnumInteger"><span class="hs-identifier hs-type">E'EnumInteger</span></a><span> </span><span class="hs-keyword">where</span><span> </span><a name="local-8214565720323822289"><span class="hs-identifier">parseJSON</span></a><span> </span><a name="local-6989586621679141423"><a href="#local-6989586621679141423"><span class="hs-identifier">o</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">P.either</span><span> </span><span class="hs-identifier hs-var">P.fail</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-var">pure</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><span class="hs-identifier hs-var">P.id</span><span class="hs-special">)</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><a href="OpenAPIPetstore.Model.html#toE%27EnumInteger"><span class="hs-identifier hs-var">toE'EnumInteger</span></a><span> </span><span class="hs-operator hs-var">=&lt;&lt;</span><span> </span><span class="hs-identifier hs-var">A.parseJSON</span><span> </span><a href="#local-6989586621679141423"><span class="hs-identifier hs-var">o</span></a><span>
</span><a name="line-2041"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">WH.ToHttpApiData</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27EnumInteger"><span class="hs-identifier hs-type">E'EnumInteger</span></a><span> </span><span class="hs-keyword">where</span><span> </span><a name="local-8214565720323827196"><span class="hs-identifier">toQueryParam</span></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">WH.toQueryParam</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><a href="OpenAPIPetstore.Model.html#fromE%27EnumInteger"><span class="hs-identifier hs-var">fromE'EnumInteger</span></a><span>
</span><a name="line-2042"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">WH.FromHttpApiData</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27EnumInteger"><span class="hs-identifier hs-type">E'EnumInteger</span></a><span> </span><span class="hs-keyword">where</span><span> </span><a name="local-8214565720323827188"><span class="hs-identifier">parseQueryParam</span></a><span> </span><a name="local-6989586621679141422"><a href="#local-6989586621679141422"><span class="hs-identifier">o</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">WH.parseQueryParam</span><span> </span><a href="#local-6989586621679141422"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">&gt;&gt;=</span><span> </span><span class="hs-identifier hs-var">P.left</span><span> </span><span class="hs-identifier hs-var">T.pack</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><a href="OpenAPIPetstore.Model.html#toE%27EnumInteger"><span class="hs-identifier hs-var">toE'EnumInteger</span></a><span>
</span><a name="line-2043"></a><span class="hs-keyword">instance</span><span> </span><a href="OpenAPIPetstore.MimeTypes.html#MimeRender"><span class="hs-identifier hs-type">MimeRender</span></a><span> </span><a href="OpenAPIPetstore.MimeTypes.html#MimeMultipartFormData"><span class="hs-identifier hs-type">MimeMultipartFormData</span></a><span> </span><a href="OpenAPIPetstore.Model.html#E%27EnumInteger"><span class="hs-identifier hs-type">E'EnumInteger</span></a><span> </span><span class="hs-keyword">where</span><span> </span><a name="local-8214565720323850588"><a href="OpenAPIPetstore.MimeTypes.html#mimeRender"><span class="hs-identifier">mimeRender</span></a></a><span> </span><span class="hs-identifier">_</span><span> </span><span class="hs-glyph">=</span><span> </span><a href="OpenAPIPetstore.MimeTypes.html#mimeRenderDefaultMultipartFormData"><span class="hs-identifier hs-var">mimeRenderDefaultMultipartFormData</span></a><span>
</span><a name="line-2044"></a><span>
</span><a name="line-2045"></a><span class="hs-comment">-- | unwrap 'E'EnumInteger' enum</span><span>
</span><a name="line-2046"></a><span class="hs-identifier">fromE'EnumInteger</span><span> </span><span class="hs-glyph">::</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27EnumInteger"><span class="hs-identifier hs-type">E'EnumInteger</span></a><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-type">Int</span><span>
</span><a name="line-2047"></a><a name="fromE%27EnumInteger"><a href="OpenAPIPetstore.Model.html#fromE%27EnumInteger"><span class="hs-identifier">fromE'EnumInteger</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-glyph">\</span><span class="hs-glyph">case</span><span>
</span><a name="line-2048"></a><span>  </span><a href="OpenAPIPetstore.Model.html#E%27EnumInteger%27Num1"><span class="hs-identifier hs-var">E'EnumInteger'Num1</span></a><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-number">1</span><span>
</span><a name="line-2049"></a><span>  </span><a href="OpenAPIPetstore.Model.html#E%27EnumInteger%27NumMinus_1"><span class="hs-identifier hs-var">E'EnumInteger'NumMinus_1</span></a><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-glyph">-</span><span class="hs-number">1</span><span>
</span><a name="line-2050"></a><span>
</span><a name="line-2051"></a><span class="hs-comment">-- | parse 'E'EnumInteger' enum</span><span>
</span><a name="line-2052"></a><span class="hs-identifier">toE'EnumInteger</span><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier hs-type">Int</span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-type">P.Either</span><span> </span><span class="hs-identifier hs-type">String</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27EnumInteger"><span class="hs-identifier hs-type">E'EnumInteger</span></a><span>
</span><a name="line-2053"></a><a name="toE%27EnumInteger"><a href="OpenAPIPetstore.Model.html#toE%27EnumInteger"><span class="hs-identifier">toE'EnumInteger</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-glyph">\</span><span class="hs-glyph">case</span><span>
</span><a name="line-2054"></a><span>  </span><span class="hs-number">1</span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-var">P.Right</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27EnumInteger%27Num1"><span class="hs-identifier hs-var">E'EnumInteger'Num1</span></a><span>
</span><a name="line-2055"></a><span>  </span><span class="hs-glyph">-</span><span class="hs-number">1</span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-var">P.Right</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27EnumInteger%27NumMinus_1"><span class="hs-identifier hs-var">E'EnumInteger'NumMinus_1</span></a><span>
</span><a name="line-2056"></a><span>  </span><a name="local-6989586621679141656"><a href="#local-6989586621679141656"><span class="hs-identifier">s</span></a></a><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-var">P.Left</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-string">&quot;toE'EnumInteger: enum parse failure: &quot;</span><span> </span><span class="hs-operator hs-var">P.++</span><span> </span><span class="hs-identifier hs-var">P.show</span><span> </span><a href="#local-6989586621679141656"><span class="hs-identifier hs-var">s</span></a><span>
</span><a name="line-2057"></a><span>
</span><a name="line-2058"></a><span>
</span><a name="line-2059"></a><span class="hs-comment">-- ** E'EnumNumber</span><span>
</span><a name="line-2060"></a><span>
</span><a name="line-2061"></a><span class="hs-comment">-- | Enum of 'Double'</span><span>
</span><a name="line-2062"></a><span class="hs-keyword">data</span><span> </span><a name="E%27EnumNumber"><a href="OpenAPIPetstore.Model.html#E%27EnumNumber"><span class="hs-identifier">E'EnumNumber</span></a></a><span>
</span><a name="line-2063"></a><span>  </span><span class="hs-glyph">=</span><span> </span><a name="E%27EnumNumber%27Num1_Dot_1"><a href="OpenAPIPetstore.Model.html#E%27EnumNumber%27Num1_Dot_1"><span class="hs-identifier">E'EnumNumber'Num1_Dot_1</span></a></a><span> </span><span class="hs-comment">-- ^ @1.1@</span><span>
</span><a name="line-2064"></a><span>  </span><span class="hs-glyph">|</span><span> </span><a name="E%27EnumNumber%27NumMinus_1_Dot_2"><a href="OpenAPIPetstore.Model.html#E%27EnumNumber%27NumMinus_1_Dot_2"><span class="hs-identifier">E'EnumNumber'NumMinus_1_Dot_2</span></a></a><span> </span><span class="hs-comment">-- ^ @-1.2@</span><span>
</span><a name="line-2065"></a><span>  </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Typeable</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Ord</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Bounded</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Enum</span><span class="hs-special">)</span><span>
</span><a name="line-2066"></a><span>
</span><a name="line-2067"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.ToJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27EnumNumber"><span class="hs-identifier hs-type">E'EnumNumber</span></a><span> </span><span class="hs-keyword">where</span><span> </span><a name="local-8214565720323804008"><span class="hs-identifier">toJSON</span></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">A.toJSON</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><a href="OpenAPIPetstore.Model.html#fromE%27EnumNumber"><span class="hs-identifier hs-var">fromE'EnumNumber</span></a><span>
</span><a name="line-2068"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.FromJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27EnumNumber"><span class="hs-identifier hs-type">E'EnumNumber</span></a><span> </span><span class="hs-keyword">where</span><span> </span><a name="local-8214565720323822289"><span class="hs-identifier">parseJSON</span></a><span> </span><a name="local-6989586621679141421"><a href="#local-6989586621679141421"><span class="hs-identifier">o</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">P.either</span><span> </span><span class="hs-identifier hs-var">P.fail</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-var">pure</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><span class="hs-identifier hs-var">P.id</span><span class="hs-special">)</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><a href="OpenAPIPetstore.Model.html#toE%27EnumNumber"><span class="hs-identifier hs-var">toE'EnumNumber</span></a><span> </span><span class="hs-operator hs-var">=&lt;&lt;</span><span> </span><span class="hs-identifier hs-var">A.parseJSON</span><span> </span><a href="#local-6989586621679141421"><span class="hs-identifier hs-var">o</span></a><span>
</span><a name="line-2069"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">WH.ToHttpApiData</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27EnumNumber"><span class="hs-identifier hs-type">E'EnumNumber</span></a><span> </span><span class="hs-keyword">where</span><span> </span><a name="local-8214565720323827196"><span class="hs-identifier">toQueryParam</span></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">WH.toQueryParam</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><a href="OpenAPIPetstore.Model.html#fromE%27EnumNumber"><span class="hs-identifier hs-var">fromE'EnumNumber</span></a><span>
</span><a name="line-2070"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">WH.FromHttpApiData</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27EnumNumber"><span class="hs-identifier hs-type">E'EnumNumber</span></a><span> </span><span class="hs-keyword">where</span><span> </span><a name="local-8214565720323827188"><span class="hs-identifier">parseQueryParam</span></a><span> </span><a name="local-6989586621679141420"><a href="#local-6989586621679141420"><span class="hs-identifier">o</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">WH.parseQueryParam</span><span> </span><a href="#local-6989586621679141420"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">&gt;&gt;=</span><span> </span><span class="hs-identifier hs-var">P.left</span><span> </span><span class="hs-identifier hs-var">T.pack</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><a href="OpenAPIPetstore.Model.html#toE%27EnumNumber"><span class="hs-identifier hs-var">toE'EnumNumber</span></a><span>
</span><a name="line-2071"></a><span class="hs-keyword">instance</span><span> </span><a href="OpenAPIPetstore.MimeTypes.html#MimeRender"><span class="hs-identifier hs-type">MimeRender</span></a><span> </span><a href="OpenAPIPetstore.MimeTypes.html#MimeMultipartFormData"><span class="hs-identifier hs-type">MimeMultipartFormData</span></a><span> </span><a href="OpenAPIPetstore.Model.html#E%27EnumNumber"><span class="hs-identifier hs-type">E'EnumNumber</span></a><span> </span><span class="hs-keyword">where</span><span> </span><a name="local-8214565720323850588"><a href="OpenAPIPetstore.MimeTypes.html#mimeRender"><span class="hs-identifier">mimeRender</span></a></a><span> </span><span class="hs-identifier">_</span><span> </span><span class="hs-glyph">=</span><span> </span><a href="OpenAPIPetstore.MimeTypes.html#mimeRenderDefaultMultipartFormData"><span class="hs-identifier hs-var">mimeRenderDefaultMultipartFormData</span></a><span>
</span><a name="line-2072"></a><span>
</span><a name="line-2073"></a><span class="hs-comment">-- | unwrap 'E'EnumNumber' enum</span><span>
</span><a name="line-2074"></a><span class="hs-identifier">fromE'EnumNumber</span><span> </span><span class="hs-glyph">::</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27EnumNumber"><span class="hs-identifier hs-type">E'EnumNumber</span></a><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-type">Double</span><span>
</span><a name="line-2075"></a><a name="fromE%27EnumNumber"><a href="OpenAPIPetstore.Model.html#fromE%27EnumNumber"><span class="hs-identifier">fromE'EnumNumber</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-glyph">\</span><span class="hs-glyph">case</span><span>
</span><a name="line-2076"></a><span>  </span><a href="OpenAPIPetstore.Model.html#E%27EnumNumber%27Num1_Dot_1"><span class="hs-identifier hs-var">E'EnumNumber'Num1_Dot_1</span></a><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-number">1.1</span><span>
</span><a name="line-2077"></a><span>  </span><a href="OpenAPIPetstore.Model.html#E%27EnumNumber%27NumMinus_1_Dot_2"><span class="hs-identifier hs-var">E'EnumNumber'NumMinus_1_Dot_2</span></a><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-glyph">-</span><span class="hs-number">1.2</span><span>
</span><a name="line-2078"></a><span>
</span><a name="line-2079"></a><span class="hs-comment">-- | parse 'E'EnumNumber' enum</span><span>
</span><a name="line-2080"></a><span class="hs-identifier">toE'EnumNumber</span><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier hs-type">Double</span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-type">P.Either</span><span> </span><span class="hs-identifier hs-type">String</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27EnumNumber"><span class="hs-identifier hs-type">E'EnumNumber</span></a><span>
</span><a name="line-2081"></a><a name="toE%27EnumNumber"><a href="OpenAPIPetstore.Model.html#toE%27EnumNumber"><span class="hs-identifier">toE'EnumNumber</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-glyph">\</span><span class="hs-glyph">case</span><span>
</span><a name="line-2082"></a><span>  </span><span class="hs-number">1.1</span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-var">P.Right</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27EnumNumber%27Num1_Dot_1"><span class="hs-identifier hs-var">E'EnumNumber'Num1_Dot_1</span></a><span>
</span><a name="line-2083"></a><span>  </span><span class="hs-glyph">-</span><span class="hs-number">1.2</span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-var">P.Right</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27EnumNumber%27NumMinus_1_Dot_2"><span class="hs-identifier hs-var">E'EnumNumber'NumMinus_1_Dot_2</span></a><span>
</span><a name="line-2084"></a><span>  </span><a name="local-6989586621679141657"><a href="#local-6989586621679141657"><span class="hs-identifier">s</span></a></a><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-var">P.Left</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-string">&quot;toE'EnumNumber: enum parse failure: &quot;</span><span> </span><span class="hs-operator hs-var">P.++</span><span> </span><span class="hs-identifier hs-var">P.show</span><span> </span><a href="#local-6989586621679141657"><span class="hs-identifier hs-var">s</span></a><span>
</span><a name="line-2085"></a><span>
</span><a name="line-2086"></a><span>
</span><a name="line-2087"></a><span class="hs-comment">-- ** E'EnumQueryInteger</span><span>
</span><a name="line-2088"></a><span>
</span><a name="line-2089"></a><span class="hs-comment">-- | Enum of 'Int'</span><span>
</span><a name="line-2090"></a><span class="hs-keyword">data</span><span> </span><a name="E%27EnumQueryInteger"><a href="OpenAPIPetstore.Model.html#E%27EnumQueryInteger"><span class="hs-identifier">E'EnumQueryInteger</span></a></a><span>
</span><a name="line-2091"></a><span>  </span><span class="hs-glyph">=</span><span> </span><a name="E%27EnumQueryInteger%27Num1"><a href="OpenAPIPetstore.Model.html#E%27EnumQueryInteger%27Num1"><span class="hs-identifier">E'EnumQueryInteger'Num1</span></a></a><span> </span><span class="hs-comment">-- ^ @1@</span><span>
</span><a name="line-2092"></a><span>  </span><span class="hs-glyph">|</span><span> </span><a name="E%27EnumQueryInteger%27NumMinus_2"><a href="OpenAPIPetstore.Model.html#E%27EnumQueryInteger%27NumMinus_2"><span class="hs-identifier">E'EnumQueryInteger'NumMinus_2</span></a></a><span> </span><span class="hs-comment">-- ^ @-2@</span><span>
</span><a name="line-2093"></a><span>  </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Typeable</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Ord</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Bounded</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Enum</span><span class="hs-special">)</span><span>
</span><a name="line-2094"></a><span>
</span><a name="line-2095"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.ToJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27EnumQueryInteger"><span class="hs-identifier hs-type">E'EnumQueryInteger</span></a><span> </span><span class="hs-keyword">where</span><span> </span><a name="local-8214565720323804008"><span class="hs-identifier">toJSON</span></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">A.toJSON</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><a href="OpenAPIPetstore.Model.html#fromE%27EnumQueryInteger"><span class="hs-identifier hs-var">fromE'EnumQueryInteger</span></a><span>
</span><a name="line-2096"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.FromJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27EnumQueryInteger"><span class="hs-identifier hs-type">E'EnumQueryInteger</span></a><span> </span><span class="hs-keyword">where</span><span> </span><a name="local-8214565720323822289"><span class="hs-identifier">parseJSON</span></a><span> </span><a name="local-6989586621679141419"><a href="#local-6989586621679141419"><span class="hs-identifier">o</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">P.either</span><span> </span><span class="hs-identifier hs-var">P.fail</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-var">pure</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><span class="hs-identifier hs-var">P.id</span><span class="hs-special">)</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><a href="OpenAPIPetstore.Model.html#toE%27EnumQueryInteger"><span class="hs-identifier hs-var">toE'EnumQueryInteger</span></a><span> </span><span class="hs-operator hs-var">=&lt;&lt;</span><span> </span><span class="hs-identifier hs-var">A.parseJSON</span><span> </span><a href="#local-6989586621679141419"><span class="hs-identifier hs-var">o</span></a><span>
</span><a name="line-2097"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">WH.ToHttpApiData</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27EnumQueryInteger"><span class="hs-identifier hs-type">E'EnumQueryInteger</span></a><span> </span><span class="hs-keyword">where</span><span> </span><a name="local-8214565720323827196"><span class="hs-identifier">toQueryParam</span></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">WH.toQueryParam</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><a href="OpenAPIPetstore.Model.html#fromE%27EnumQueryInteger"><span class="hs-identifier hs-var">fromE'EnumQueryInteger</span></a><span>
</span><a name="line-2098"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">WH.FromHttpApiData</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27EnumQueryInteger"><span class="hs-identifier hs-type">E'EnumQueryInteger</span></a><span> </span><span class="hs-keyword">where</span><span> </span><a name="local-8214565720323827188"><span class="hs-identifier">parseQueryParam</span></a><span> </span><a name="local-6989586621679141418"><a href="#local-6989586621679141418"><span class="hs-identifier">o</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">WH.parseQueryParam</span><span> </span><a href="#local-6989586621679141418"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">&gt;&gt;=</span><span> </span><span class="hs-identifier hs-var">P.left</span><span> </span><span class="hs-identifier hs-var">T.pack</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><a href="OpenAPIPetstore.Model.html#toE%27EnumQueryInteger"><span class="hs-identifier hs-var">toE'EnumQueryInteger</span></a><span>
</span><a name="line-2099"></a><span class="hs-keyword">instance</span><span> </span><a href="OpenAPIPetstore.MimeTypes.html#MimeRender"><span class="hs-identifier hs-type">MimeRender</span></a><span> </span><a href="OpenAPIPetstore.MimeTypes.html#MimeMultipartFormData"><span class="hs-identifier hs-type">MimeMultipartFormData</span></a><span> </span><a href="OpenAPIPetstore.Model.html#E%27EnumQueryInteger"><span class="hs-identifier hs-type">E'EnumQueryInteger</span></a><span> </span><span class="hs-keyword">where</span><span> </span><a name="local-8214565720323850588"><a href="OpenAPIPetstore.MimeTypes.html#mimeRender"><span class="hs-identifier">mimeRender</span></a></a><span> </span><span class="hs-identifier">_</span><span> </span><span class="hs-glyph">=</span><span> </span><a href="OpenAPIPetstore.MimeTypes.html#mimeRenderDefaultMultipartFormData"><span class="hs-identifier hs-var">mimeRenderDefaultMultipartFormData</span></a><span>
</span><a name="line-2100"></a><span>
</span><a name="line-2101"></a><span class="hs-comment">-- | unwrap 'E'EnumQueryInteger' enum</span><span>
</span><a name="line-2102"></a><span class="hs-identifier">fromE'EnumQueryInteger</span><span> </span><span class="hs-glyph">::</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27EnumQueryInteger"><span class="hs-identifier hs-type">E'EnumQueryInteger</span></a><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-type">Int</span><span>
</span><a name="line-2103"></a><a name="fromE%27EnumQueryInteger"><a href="OpenAPIPetstore.Model.html#fromE%27EnumQueryInteger"><span class="hs-identifier">fromE'EnumQueryInteger</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-glyph">\</span><span class="hs-glyph">case</span><span>
</span><a name="line-2104"></a><span>  </span><a href="OpenAPIPetstore.Model.html#E%27EnumQueryInteger%27Num1"><span class="hs-identifier hs-var">E'EnumQueryInteger'Num1</span></a><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-number">1</span><span>
</span><a name="line-2105"></a><span>  </span><a href="OpenAPIPetstore.Model.html#E%27EnumQueryInteger%27NumMinus_2"><span class="hs-identifier hs-var">E'EnumQueryInteger'NumMinus_2</span></a><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-glyph">-</span><span class="hs-number">2</span><span>
</span><a name="line-2106"></a><span>
</span><a name="line-2107"></a><span class="hs-comment">-- | parse 'E'EnumQueryInteger' enum</span><span>
</span><a name="line-2108"></a><span class="hs-identifier">toE'EnumQueryInteger</span><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier hs-type">Int</span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-type">P.Either</span><span> </span><span class="hs-identifier hs-type">String</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27EnumQueryInteger"><span class="hs-identifier hs-type">E'EnumQueryInteger</span></a><span>
</span><a name="line-2109"></a><a name="toE%27EnumQueryInteger"><a href="OpenAPIPetstore.Model.html#toE%27EnumQueryInteger"><span class="hs-identifier">toE'EnumQueryInteger</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-glyph">\</span><span class="hs-glyph">case</span><span>
</span><a name="line-2110"></a><span>  </span><span class="hs-number">1</span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-var">P.Right</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27EnumQueryInteger%27Num1"><span class="hs-identifier hs-var">E'EnumQueryInteger'Num1</span></a><span>
</span><a name="line-2111"></a><span>  </span><span class="hs-glyph">-</span><span class="hs-number">2</span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-var">P.Right</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27EnumQueryInteger%27NumMinus_2"><span class="hs-identifier hs-var">E'EnumQueryInteger'NumMinus_2</span></a><span>
</span><a name="line-2112"></a><span>  </span><a name="local-6989586621679141658"><a href="#local-6989586621679141658"><span class="hs-identifier">s</span></a></a><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-var">P.Left</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-string">&quot;toE'EnumQueryInteger: enum parse failure: &quot;</span><span> </span><span class="hs-operator hs-var">P.++</span><span> </span><span class="hs-identifier hs-var">P.show</span><span> </span><a href="#local-6989586621679141658"><span class="hs-identifier hs-var">s</span></a><span>
</span><a name="line-2113"></a><span>
</span><a name="line-2114"></a><span>
</span><a name="line-2115"></a><span class="hs-comment">-- ** E'EnumString</span><span>
</span><a name="line-2116"></a><span>
</span><a name="line-2117"></a><span class="hs-comment">-- | Enum of 'Text'</span><span>
</span><a name="line-2118"></a><span class="hs-keyword">data</span><span> </span><a name="E%27EnumString"><a href="OpenAPIPetstore.Model.html#E%27EnumString"><span class="hs-identifier">E'EnumString</span></a></a><span>
</span><a name="line-2119"></a><span>  </span><span class="hs-glyph">=</span><span> </span><a name="E%27EnumString%27UPPER"><a href="OpenAPIPetstore.Model.html#E%27EnumString%27UPPER"><span class="hs-identifier">E'EnumString'UPPER</span></a></a><span> </span><span class="hs-comment">-- ^ @&quot;UPPER&quot;@</span><span>
</span><a name="line-2120"></a><span>  </span><span class="hs-glyph">|</span><span> </span><a name="E%27EnumString%27Lower"><a href="OpenAPIPetstore.Model.html#E%27EnumString%27Lower"><span class="hs-identifier">E'EnumString'Lower</span></a></a><span> </span><span class="hs-comment">-- ^ @&quot;lower&quot;@</span><span>
</span><a name="line-2121"></a><span>  </span><span class="hs-glyph">|</span><span> </span><a name="E%27EnumString%27Empty"><a href="OpenAPIPetstore.Model.html#E%27EnumString%27Empty"><span class="hs-identifier">E'EnumString'Empty</span></a></a><span> </span><span class="hs-comment">-- ^ @&quot;&quot;@</span><span>
</span><a name="line-2122"></a><span>  </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Typeable</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Ord</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Bounded</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Enum</span><span class="hs-special">)</span><span>
</span><a name="line-2123"></a><span>
</span><a name="line-2124"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.ToJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27EnumString"><span class="hs-identifier hs-type">E'EnumString</span></a><span> </span><span class="hs-keyword">where</span><span> </span><a name="local-8214565720323804008"><span class="hs-identifier">toJSON</span></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">A.toJSON</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><a href="OpenAPIPetstore.Model.html#fromE%27EnumString"><span class="hs-identifier hs-var">fromE'EnumString</span></a><span>
</span><a name="line-2125"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.FromJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27EnumString"><span class="hs-identifier hs-type">E'EnumString</span></a><span> </span><span class="hs-keyword">where</span><span> </span><a name="local-8214565720323822289"><span class="hs-identifier">parseJSON</span></a><span> </span><a name="local-6989586621679141417"><a href="#local-6989586621679141417"><span class="hs-identifier">o</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">P.either</span><span> </span><span class="hs-identifier hs-var">P.fail</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-var">pure</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><span class="hs-identifier hs-var">P.id</span><span class="hs-special">)</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><a href="OpenAPIPetstore.Model.html#toE%27EnumString"><span class="hs-identifier hs-var">toE'EnumString</span></a><span> </span><span class="hs-operator hs-var">=&lt;&lt;</span><span> </span><span class="hs-identifier hs-var">A.parseJSON</span><span> </span><a href="#local-6989586621679141417"><span class="hs-identifier hs-var">o</span></a><span>
</span><a name="line-2126"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">WH.ToHttpApiData</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27EnumString"><span class="hs-identifier hs-type">E'EnumString</span></a><span> </span><span class="hs-keyword">where</span><span> </span><a name="local-8214565720323827196"><span class="hs-identifier">toQueryParam</span></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">WH.toQueryParam</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><a href="OpenAPIPetstore.Model.html#fromE%27EnumString"><span class="hs-identifier hs-var">fromE'EnumString</span></a><span>
</span><a name="line-2127"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">WH.FromHttpApiData</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27EnumString"><span class="hs-identifier hs-type">E'EnumString</span></a><span> </span><span class="hs-keyword">where</span><span> </span><a name="local-8214565720323827188"><span class="hs-identifier">parseQueryParam</span></a><span> </span><a name="local-6989586621679141416"><a href="#local-6989586621679141416"><span class="hs-identifier">o</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">WH.parseQueryParam</span><span> </span><a href="#local-6989586621679141416"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">&gt;&gt;=</span><span> </span><span class="hs-identifier hs-var">P.left</span><span> </span><span class="hs-identifier hs-var">T.pack</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><a href="OpenAPIPetstore.Model.html#toE%27EnumString"><span class="hs-identifier hs-var">toE'EnumString</span></a><span>
</span><a name="line-2128"></a><span class="hs-keyword">instance</span><span> </span><a href="OpenAPIPetstore.MimeTypes.html#MimeRender"><span class="hs-identifier hs-type">MimeRender</span></a><span> </span><a href="OpenAPIPetstore.MimeTypes.html#MimeMultipartFormData"><span class="hs-identifier hs-type">MimeMultipartFormData</span></a><span> </span><a href="OpenAPIPetstore.Model.html#E%27EnumString"><span class="hs-identifier hs-type">E'EnumString</span></a><span> </span><span class="hs-keyword">where</span><span> </span><a name="local-8214565720323850588"><a href="OpenAPIPetstore.MimeTypes.html#mimeRender"><span class="hs-identifier">mimeRender</span></a></a><span> </span><span class="hs-identifier">_</span><span> </span><span class="hs-glyph">=</span><span> </span><a href="OpenAPIPetstore.MimeTypes.html#mimeRenderDefaultMultipartFormData"><span class="hs-identifier hs-var">mimeRenderDefaultMultipartFormData</span></a><span>
</span><a name="line-2129"></a><span>
</span><a name="line-2130"></a><span class="hs-comment">-- | unwrap 'E'EnumString' enum</span><span>
</span><a name="line-2131"></a><span class="hs-identifier">fromE'EnumString</span><span> </span><span class="hs-glyph">::</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27EnumString"><span class="hs-identifier hs-type">E'EnumString</span></a><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-type">Text</span><span>
</span><a name="line-2132"></a><a name="fromE%27EnumString"><a href="OpenAPIPetstore.Model.html#fromE%27EnumString"><span class="hs-identifier">fromE'EnumString</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-glyph">\</span><span class="hs-glyph">case</span><span>
</span><a name="line-2133"></a><span>  </span><a href="OpenAPIPetstore.Model.html#E%27EnumString%27UPPER"><span class="hs-identifier hs-var">E'EnumString'UPPER</span></a><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-string">&quot;UPPER&quot;</span><span>
</span><a name="line-2134"></a><span>  </span><a href="OpenAPIPetstore.Model.html#E%27EnumString%27Lower"><span class="hs-identifier hs-var">E'EnumString'Lower</span></a><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-string">&quot;lower&quot;</span><span>
</span><a name="line-2135"></a><span>  </span><a href="OpenAPIPetstore.Model.html#E%27EnumString%27Empty"><span class="hs-identifier hs-var">E'EnumString'Empty</span></a><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-string">&quot;&quot;</span><span>
</span><a name="line-2136"></a><span>
</span><a name="line-2137"></a><span class="hs-comment">-- | parse 'E'EnumString' enum</span><span>
</span><a name="line-2138"></a><span class="hs-identifier">toE'EnumString</span><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier hs-type">Text</span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-type">P.Either</span><span> </span><span class="hs-identifier hs-type">String</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27EnumString"><span class="hs-identifier hs-type">E'EnumString</span></a><span>
</span><a name="line-2139"></a><a name="toE%27EnumString"><a href="OpenAPIPetstore.Model.html#toE%27EnumString"><span class="hs-identifier">toE'EnumString</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-glyph">\</span><span class="hs-glyph">case</span><span>
</span><a name="line-2140"></a><span>  </span><span class="hs-string">&quot;UPPER&quot;</span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-var">P.Right</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27EnumString%27UPPER"><span class="hs-identifier hs-var">E'EnumString'UPPER</span></a><span>
</span><a name="line-2141"></a><span>  </span><span class="hs-string">&quot;lower&quot;</span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-var">P.Right</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27EnumString%27Lower"><span class="hs-identifier hs-var">E'EnumString'Lower</span></a><span>
</span><a name="line-2142"></a><span>  </span><span class="hs-string">&quot;&quot;</span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-var">P.Right</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27EnumString%27Empty"><span class="hs-identifier hs-var">E'EnumString'Empty</span></a><span>
</span><a name="line-2143"></a><span>  </span><a name="local-6989586621679141659"><a href="#local-6989586621679141659"><span class="hs-identifier">s</span></a></a><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-var">P.Left</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-string">&quot;toE'EnumString: enum parse failure: &quot;</span><span> </span><span class="hs-operator hs-var">P.++</span><span> </span><span class="hs-identifier hs-var">P.show</span><span> </span><a href="#local-6989586621679141659"><span class="hs-identifier hs-var">s</span></a><span>
</span><a name="line-2144"></a><span>
</span><a name="line-2145"></a><span>
</span><a name="line-2146"></a><span class="hs-comment">-- ** E'Inner</span><span>
</span><a name="line-2147"></a><span>
</span><a name="line-2148"></a><span class="hs-comment">-- | Enum of 'Text'</span><span>
</span><a name="line-2149"></a><span class="hs-keyword">data</span><span> </span><a name="E%27Inner"><a href="OpenAPIPetstore.Model.html#E%27Inner"><span class="hs-identifier">E'Inner</span></a></a><span>
</span><a name="line-2150"></a><span>  </span><span class="hs-glyph">=</span><span> </span><a name="E%27Inner%27UPPER"><a href="OpenAPIPetstore.Model.html#E%27Inner%27UPPER"><span class="hs-identifier">E'Inner'UPPER</span></a></a><span> </span><span class="hs-comment">-- ^ @&quot;UPPER&quot;@</span><span>
</span><a name="line-2151"></a><span>  </span><span class="hs-glyph">|</span><span> </span><a name="E%27Inner%27Lower"><a href="OpenAPIPetstore.Model.html#E%27Inner%27Lower"><span class="hs-identifier">E'Inner'Lower</span></a></a><span> </span><span class="hs-comment">-- ^ @&quot;lower&quot;@</span><span>
</span><a name="line-2152"></a><span>  </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Typeable</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Ord</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Bounded</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Enum</span><span class="hs-special">)</span><span>
</span><a name="line-2153"></a><span>
</span><a name="line-2154"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.ToJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27Inner"><span class="hs-identifier hs-type">E'Inner</span></a><span> </span><span class="hs-keyword">where</span><span> </span><a name="local-8214565720323804008"><span class="hs-identifier">toJSON</span></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">A.toJSON</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><a href="OpenAPIPetstore.Model.html#fromE%27Inner"><span class="hs-identifier hs-var">fromE'Inner</span></a><span>
</span><a name="line-2155"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.FromJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27Inner"><span class="hs-identifier hs-type">E'Inner</span></a><span> </span><span class="hs-keyword">where</span><span> </span><a name="local-8214565720323822289"><span class="hs-identifier">parseJSON</span></a><span> </span><a name="local-6989586621679141415"><a href="#local-6989586621679141415"><span class="hs-identifier">o</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">P.either</span><span> </span><span class="hs-identifier hs-var">P.fail</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-var">pure</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><span class="hs-identifier hs-var">P.id</span><span class="hs-special">)</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><a href="OpenAPIPetstore.Model.html#toE%27Inner"><span class="hs-identifier hs-var">toE'Inner</span></a><span> </span><span class="hs-operator hs-var">=&lt;&lt;</span><span> </span><span class="hs-identifier hs-var">A.parseJSON</span><span> </span><a href="#local-6989586621679141415"><span class="hs-identifier hs-var">o</span></a><span>
</span><a name="line-2156"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">WH.ToHttpApiData</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27Inner"><span class="hs-identifier hs-type">E'Inner</span></a><span> </span><span class="hs-keyword">where</span><span> </span><a name="local-8214565720323827196"><span class="hs-identifier">toQueryParam</span></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">WH.toQueryParam</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><a href="OpenAPIPetstore.Model.html#fromE%27Inner"><span class="hs-identifier hs-var">fromE'Inner</span></a><span>
</span><a name="line-2157"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">WH.FromHttpApiData</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27Inner"><span class="hs-identifier hs-type">E'Inner</span></a><span> </span><span class="hs-keyword">where</span><span> </span><a name="local-8214565720323827188"><span class="hs-identifier">parseQueryParam</span></a><span> </span><a name="local-6989586621679141414"><a href="#local-6989586621679141414"><span class="hs-identifier">o</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">WH.parseQueryParam</span><span> </span><a href="#local-6989586621679141414"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">&gt;&gt;=</span><span> </span><span class="hs-identifier hs-var">P.left</span><span> </span><span class="hs-identifier hs-var">T.pack</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><a href="OpenAPIPetstore.Model.html#toE%27Inner"><span class="hs-identifier hs-var">toE'Inner</span></a><span>
</span><a name="line-2158"></a><span class="hs-keyword">instance</span><span> </span><a href="OpenAPIPetstore.MimeTypes.html#MimeRender"><span class="hs-identifier hs-type">MimeRender</span></a><span> </span><a href="OpenAPIPetstore.MimeTypes.html#MimeMultipartFormData"><span class="hs-identifier hs-type">MimeMultipartFormData</span></a><span> </span><a href="OpenAPIPetstore.Model.html#E%27Inner"><span class="hs-identifier hs-type">E'Inner</span></a><span> </span><span class="hs-keyword">where</span><span> </span><a name="local-8214565720323850588"><a href="OpenAPIPetstore.MimeTypes.html#mimeRender"><span class="hs-identifier">mimeRender</span></a></a><span> </span><span class="hs-identifier">_</span><span> </span><span class="hs-glyph">=</span><span> </span><a href="OpenAPIPetstore.MimeTypes.html#mimeRenderDefaultMultipartFormData"><span class="hs-identifier hs-var">mimeRenderDefaultMultipartFormData</span></a><span>
</span><a name="line-2159"></a><span>
</span><a name="line-2160"></a><span class="hs-comment">-- | unwrap 'E'Inner' enum</span><span>
</span><a name="line-2161"></a><span class="hs-identifier">fromE'Inner</span><span> </span><span class="hs-glyph">::</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27Inner"><span class="hs-identifier hs-type">E'Inner</span></a><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-type">Text</span><span>
</span><a name="line-2162"></a><a name="fromE%27Inner"><a href="OpenAPIPetstore.Model.html#fromE%27Inner"><span class="hs-identifier">fromE'Inner</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-glyph">\</span><span class="hs-glyph">case</span><span>
</span><a name="line-2163"></a><span>  </span><a href="OpenAPIPetstore.Model.html#E%27Inner%27UPPER"><span class="hs-identifier hs-var">E'Inner'UPPER</span></a><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-string">&quot;UPPER&quot;</span><span>
</span><a name="line-2164"></a><span>  </span><a href="OpenAPIPetstore.Model.html#E%27Inner%27Lower"><span class="hs-identifier hs-var">E'Inner'Lower</span></a><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-string">&quot;lower&quot;</span><span>
</span><a name="line-2165"></a><span>
</span><a name="line-2166"></a><span class="hs-comment">-- | parse 'E'Inner' enum</span><span>
</span><a name="line-2167"></a><span class="hs-identifier">toE'Inner</span><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier hs-type">Text</span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-type">P.Either</span><span> </span><span class="hs-identifier hs-type">String</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27Inner"><span class="hs-identifier hs-type">E'Inner</span></a><span>
</span><a name="line-2168"></a><a name="toE%27Inner"><a href="OpenAPIPetstore.Model.html#toE%27Inner"><span class="hs-identifier">toE'Inner</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-glyph">\</span><span class="hs-glyph">case</span><span>
</span><a name="line-2169"></a><span>  </span><span class="hs-string">&quot;UPPER&quot;</span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-var">P.Right</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27Inner%27UPPER"><span class="hs-identifier hs-var">E'Inner'UPPER</span></a><span>
</span><a name="line-2170"></a><span>  </span><span class="hs-string">&quot;lower&quot;</span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-var">P.Right</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27Inner%27Lower"><span class="hs-identifier hs-var">E'Inner'Lower</span></a><span>
</span><a name="line-2171"></a><span>  </span><a name="local-6989586621679141660"><a href="#local-6989586621679141660"><span class="hs-identifier">s</span></a></a><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-var">P.Left</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-string">&quot;toE'Inner: enum parse failure: &quot;</span><span> </span><span class="hs-operator hs-var">P.++</span><span> </span><span class="hs-identifier hs-var">P.show</span><span> </span><a href="#local-6989586621679141660"><span class="hs-identifier hs-var">s</span></a><span>
</span><a name="line-2172"></a><span>
</span><a name="line-2173"></a><span>
</span><a name="line-2174"></a><span class="hs-comment">-- ** E'JustSymbol</span><span>
</span><a name="line-2175"></a><span>
</span><a name="line-2176"></a><span class="hs-comment">-- | Enum of 'Text'</span><span>
</span><a name="line-2177"></a><span class="hs-keyword">data</span><span> </span><a name="E%27JustSymbol"><a href="OpenAPIPetstore.Model.html#E%27JustSymbol"><span class="hs-identifier">E'JustSymbol</span></a></a><span>
</span><a name="line-2178"></a><span>  </span><span class="hs-glyph">=</span><span> </span><a name="E%27JustSymbol%27Greater_Than_Or_Equal_To"><a href="OpenAPIPetstore.Model.html#E%27JustSymbol%27Greater_Than_Or_Equal_To"><span class="hs-identifier">E'JustSymbol'Greater_Than_Or_Equal_To</span></a></a><span> </span><span class="hs-comment">-- ^ @&quot;&gt;=&quot;@</span><span>
</span><a name="line-2179"></a><span>  </span><span class="hs-glyph">|</span><span> </span><a name="E%27JustSymbol%27Dollar"><a href="OpenAPIPetstore.Model.html#E%27JustSymbol%27Dollar"><span class="hs-identifier">E'JustSymbol'Dollar</span></a></a><span> </span><span class="hs-comment">-- ^ @&quot;$&quot;@</span><span>
</span><a name="line-2180"></a><span>  </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Typeable</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Ord</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Bounded</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Enum</span><span class="hs-special">)</span><span>
</span><a name="line-2181"></a><span>
</span><a name="line-2182"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.ToJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27JustSymbol"><span class="hs-identifier hs-type">E'JustSymbol</span></a><span> </span><span class="hs-keyword">where</span><span> </span><a name="local-8214565720323804008"><span class="hs-identifier">toJSON</span></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">A.toJSON</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><a href="OpenAPIPetstore.Model.html#fromE%27JustSymbol"><span class="hs-identifier hs-var">fromE'JustSymbol</span></a><span>
</span><a name="line-2183"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.FromJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27JustSymbol"><span class="hs-identifier hs-type">E'JustSymbol</span></a><span> </span><span class="hs-keyword">where</span><span> </span><a name="local-8214565720323822289"><span class="hs-identifier">parseJSON</span></a><span> </span><a name="local-6989586621679141413"><a href="#local-6989586621679141413"><span class="hs-identifier">o</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">P.either</span><span> </span><span class="hs-identifier hs-var">P.fail</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-var">pure</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><span class="hs-identifier hs-var">P.id</span><span class="hs-special">)</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><a href="OpenAPIPetstore.Model.html#toE%27JustSymbol"><span class="hs-identifier hs-var">toE'JustSymbol</span></a><span> </span><span class="hs-operator hs-var">=&lt;&lt;</span><span> </span><span class="hs-identifier hs-var">A.parseJSON</span><span> </span><a href="#local-6989586621679141413"><span class="hs-identifier hs-var">o</span></a><span>
</span><a name="line-2184"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">WH.ToHttpApiData</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27JustSymbol"><span class="hs-identifier hs-type">E'JustSymbol</span></a><span> </span><span class="hs-keyword">where</span><span> </span><a name="local-8214565720323827196"><span class="hs-identifier">toQueryParam</span></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">WH.toQueryParam</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><a href="OpenAPIPetstore.Model.html#fromE%27JustSymbol"><span class="hs-identifier hs-var">fromE'JustSymbol</span></a><span>
</span><a name="line-2185"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">WH.FromHttpApiData</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27JustSymbol"><span class="hs-identifier hs-type">E'JustSymbol</span></a><span> </span><span class="hs-keyword">where</span><span> </span><a name="local-8214565720323827188"><span class="hs-identifier">parseQueryParam</span></a><span> </span><a name="local-6989586621679141412"><a href="#local-6989586621679141412"><span class="hs-identifier">o</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">WH.parseQueryParam</span><span> </span><a href="#local-6989586621679141412"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">&gt;&gt;=</span><span> </span><span class="hs-identifier hs-var">P.left</span><span> </span><span class="hs-identifier hs-var">T.pack</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><a href="OpenAPIPetstore.Model.html#toE%27JustSymbol"><span class="hs-identifier hs-var">toE'JustSymbol</span></a><span>
</span><a name="line-2186"></a><span class="hs-keyword">instance</span><span> </span><a href="OpenAPIPetstore.MimeTypes.html#MimeRender"><span class="hs-identifier hs-type">MimeRender</span></a><span> </span><a href="OpenAPIPetstore.MimeTypes.html#MimeMultipartFormData"><span class="hs-identifier hs-type">MimeMultipartFormData</span></a><span> </span><a href="OpenAPIPetstore.Model.html#E%27JustSymbol"><span class="hs-identifier hs-type">E'JustSymbol</span></a><span> </span><span class="hs-keyword">where</span><span> </span><a name="local-8214565720323850588"><a href="OpenAPIPetstore.MimeTypes.html#mimeRender"><span class="hs-identifier">mimeRender</span></a></a><span> </span><span class="hs-identifier">_</span><span> </span><span class="hs-glyph">=</span><span> </span><a href="OpenAPIPetstore.MimeTypes.html#mimeRenderDefaultMultipartFormData"><span class="hs-identifier hs-var">mimeRenderDefaultMultipartFormData</span></a><span>
</span><a name="line-2187"></a><span>
</span><a name="line-2188"></a><span class="hs-comment">-- | unwrap 'E'JustSymbol' enum</span><span>
</span><a name="line-2189"></a><span class="hs-identifier">fromE'JustSymbol</span><span> </span><span class="hs-glyph">::</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27JustSymbol"><span class="hs-identifier hs-type">E'JustSymbol</span></a><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-type">Text</span><span>
</span><a name="line-2190"></a><a name="fromE%27JustSymbol"><a href="OpenAPIPetstore.Model.html#fromE%27JustSymbol"><span class="hs-identifier">fromE'JustSymbol</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-glyph">\</span><span class="hs-glyph">case</span><span>
</span><a name="line-2191"></a><span>  </span><a href="OpenAPIPetstore.Model.html#E%27JustSymbol%27Greater_Than_Or_Equal_To"><span class="hs-identifier hs-var">E'JustSymbol'Greater_Than_Or_Equal_To</span></a><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-string">&quot;&gt;=&quot;</span><span>
</span><a name="line-2192"></a><span>  </span><a href="OpenAPIPetstore.Model.html#E%27JustSymbol%27Dollar"><span class="hs-identifier hs-var">E'JustSymbol'Dollar</span></a><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-string">&quot;$&quot;</span><span>
</span><a name="line-2193"></a><span>
</span><a name="line-2194"></a><span class="hs-comment">-- | parse 'E'JustSymbol' enum</span><span>
</span><a name="line-2195"></a><span class="hs-identifier">toE'JustSymbol</span><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier hs-type">Text</span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-type">P.Either</span><span> </span><span class="hs-identifier hs-type">String</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27JustSymbol"><span class="hs-identifier hs-type">E'JustSymbol</span></a><span>
</span><a name="line-2196"></a><a name="toE%27JustSymbol"><a href="OpenAPIPetstore.Model.html#toE%27JustSymbol"><span class="hs-identifier">toE'JustSymbol</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-glyph">\</span><span class="hs-glyph">case</span><span>
</span><a name="line-2197"></a><span>  </span><span class="hs-string">&quot;&gt;=&quot;</span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-var">P.Right</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27JustSymbol%27Greater_Than_Or_Equal_To"><span class="hs-identifier hs-var">E'JustSymbol'Greater_Than_Or_Equal_To</span></a><span>
</span><a name="line-2198"></a><span>  </span><span class="hs-string">&quot;$&quot;</span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-var">P.Right</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27JustSymbol%27Dollar"><span class="hs-identifier hs-var">E'JustSymbol'Dollar</span></a><span>
</span><a name="line-2199"></a><span>  </span><a name="local-6989586621679141661"><a href="#local-6989586621679141661"><span class="hs-identifier">s</span></a></a><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-var">P.Left</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-string">&quot;toE'JustSymbol: enum parse failure: &quot;</span><span> </span><span class="hs-operator hs-var">P.++</span><span> </span><span class="hs-identifier hs-var">P.show</span><span> </span><a href="#local-6989586621679141661"><span class="hs-identifier hs-var">s</span></a><span>
</span><a name="line-2200"></a><span>
</span><a name="line-2201"></a><span>
</span><a name="line-2202"></a><span class="hs-comment">-- ** E'Status</span><span>
</span><a name="line-2203"></a><span>
</span><a name="line-2204"></a><span class="hs-comment">-- | Enum of 'Text' . </span><span>
</span><a name="line-2205"></a><span class="hs-comment">-- Order Status</span><span>
</span><a name="line-2206"></a><span class="hs-keyword">data</span><span> </span><a name="E%27Status"><a href="OpenAPIPetstore.Model.html#E%27Status"><span class="hs-identifier">E'Status</span></a></a><span>
</span><a name="line-2207"></a><span>  </span><span class="hs-glyph">=</span><span> </span><a name="E%27Status%27Placed"><a href="OpenAPIPetstore.Model.html#E%27Status%27Placed"><span class="hs-identifier">E'Status'Placed</span></a></a><span> </span><span class="hs-comment">-- ^ @&quot;placed&quot;@</span><span>
</span><a name="line-2208"></a><span>  </span><span class="hs-glyph">|</span><span> </span><a name="E%27Status%27Approved"><a href="OpenAPIPetstore.Model.html#E%27Status%27Approved"><span class="hs-identifier">E'Status'Approved</span></a></a><span> </span><span class="hs-comment">-- ^ @&quot;approved&quot;@</span><span>
</span><a name="line-2209"></a><span>  </span><span class="hs-glyph">|</span><span> </span><a name="E%27Status%27Delivered"><a href="OpenAPIPetstore.Model.html#E%27Status%27Delivered"><span class="hs-identifier">E'Status'Delivered</span></a></a><span> </span><span class="hs-comment">-- ^ @&quot;delivered&quot;@</span><span>
</span><a name="line-2210"></a><span>  </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Typeable</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Ord</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Bounded</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Enum</span><span class="hs-special">)</span><span>
</span><a name="line-2211"></a><span>
</span><a name="line-2212"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.ToJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27Status"><span class="hs-identifier hs-type">E'Status</span></a><span> </span><span class="hs-keyword">where</span><span> </span><a name="local-8214565720323804008"><span class="hs-identifier">toJSON</span></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">A.toJSON</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><a href="OpenAPIPetstore.Model.html#fromE%27Status"><span class="hs-identifier hs-var">fromE'Status</span></a><span>
</span><a name="line-2213"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.FromJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27Status"><span class="hs-identifier hs-type">E'Status</span></a><span> </span><span class="hs-keyword">where</span><span> </span><a name="local-8214565720323822289"><span class="hs-identifier">parseJSON</span></a><span> </span><a name="local-6989586621679141411"><a href="#local-6989586621679141411"><span class="hs-identifier">o</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">P.either</span><span> </span><span class="hs-identifier hs-var">P.fail</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-var">pure</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><span class="hs-identifier hs-var">P.id</span><span class="hs-special">)</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><a href="OpenAPIPetstore.Model.html#toE%27Status"><span class="hs-identifier hs-var">toE'Status</span></a><span> </span><span class="hs-operator hs-var">=&lt;&lt;</span><span> </span><span class="hs-identifier hs-var">A.parseJSON</span><span> </span><a href="#local-6989586621679141411"><span class="hs-identifier hs-var">o</span></a><span>
</span><a name="line-2214"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">WH.ToHttpApiData</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27Status"><span class="hs-identifier hs-type">E'Status</span></a><span> </span><span class="hs-keyword">where</span><span> </span><a name="local-8214565720323827196"><span class="hs-identifier">toQueryParam</span></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">WH.toQueryParam</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><a href="OpenAPIPetstore.Model.html#fromE%27Status"><span class="hs-identifier hs-var">fromE'Status</span></a><span>
</span><a name="line-2215"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">WH.FromHttpApiData</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27Status"><span class="hs-identifier hs-type">E'Status</span></a><span> </span><span class="hs-keyword">where</span><span> </span><a name="local-8214565720323827188"><span class="hs-identifier">parseQueryParam</span></a><span> </span><a name="local-6989586621679141410"><a href="#local-6989586621679141410"><span class="hs-identifier">o</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">WH.parseQueryParam</span><span> </span><a href="#local-6989586621679141410"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">&gt;&gt;=</span><span> </span><span class="hs-identifier hs-var">P.left</span><span> </span><span class="hs-identifier hs-var">T.pack</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><a href="OpenAPIPetstore.Model.html#toE%27Status"><span class="hs-identifier hs-var">toE'Status</span></a><span>
</span><a name="line-2216"></a><span class="hs-keyword">instance</span><span> </span><a href="OpenAPIPetstore.MimeTypes.html#MimeRender"><span class="hs-identifier hs-type">MimeRender</span></a><span> </span><a href="OpenAPIPetstore.MimeTypes.html#MimeMultipartFormData"><span class="hs-identifier hs-type">MimeMultipartFormData</span></a><span> </span><a href="OpenAPIPetstore.Model.html#E%27Status"><span class="hs-identifier hs-type">E'Status</span></a><span> </span><span class="hs-keyword">where</span><span> </span><a name="local-8214565720323850588"><a href="OpenAPIPetstore.MimeTypes.html#mimeRender"><span class="hs-identifier">mimeRender</span></a></a><span> </span><span class="hs-identifier">_</span><span> </span><span class="hs-glyph">=</span><span> </span><a href="OpenAPIPetstore.MimeTypes.html#mimeRenderDefaultMultipartFormData"><span class="hs-identifier hs-var">mimeRenderDefaultMultipartFormData</span></a><span>
</span><a name="line-2217"></a><span>
</span><a name="line-2218"></a><span class="hs-comment">-- | unwrap 'E'Status' enum</span><span>
</span><a name="line-2219"></a><span class="hs-identifier">fromE'Status</span><span> </span><span class="hs-glyph">::</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27Status"><span class="hs-identifier hs-type">E'Status</span></a><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-type">Text</span><span>
</span><a name="line-2220"></a><a name="fromE%27Status"><a href="OpenAPIPetstore.Model.html#fromE%27Status"><span class="hs-identifier">fromE'Status</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-glyph">\</span><span class="hs-glyph">case</span><span>
</span><a name="line-2221"></a><span>  </span><a href="OpenAPIPetstore.Model.html#E%27Status%27Placed"><span class="hs-identifier hs-var">E'Status'Placed</span></a><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-string">&quot;placed&quot;</span><span>
</span><a name="line-2222"></a><span>  </span><a href="OpenAPIPetstore.Model.html#E%27Status%27Approved"><span class="hs-identifier hs-var">E'Status'Approved</span></a><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-string">&quot;approved&quot;</span><span>
</span><a name="line-2223"></a><span>  </span><a href="OpenAPIPetstore.Model.html#E%27Status%27Delivered"><span class="hs-identifier hs-var">E'Status'Delivered</span></a><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-string">&quot;delivered&quot;</span><span>
</span><a name="line-2224"></a><span>
</span><a name="line-2225"></a><span class="hs-comment">-- | parse 'E'Status' enum</span><span>
</span><a name="line-2226"></a><span class="hs-identifier">toE'Status</span><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier hs-type">Text</span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-type">P.Either</span><span> </span><span class="hs-identifier hs-type">String</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27Status"><span class="hs-identifier hs-type">E'Status</span></a><span>
</span><a name="line-2227"></a><a name="toE%27Status"><a href="OpenAPIPetstore.Model.html#toE%27Status"><span class="hs-identifier">toE'Status</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-glyph">\</span><span class="hs-glyph">case</span><span>
</span><a name="line-2228"></a><span>  </span><span class="hs-string">&quot;placed&quot;</span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-var">P.Right</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27Status%27Placed"><span class="hs-identifier hs-var">E'Status'Placed</span></a><span>
</span><a name="line-2229"></a><span>  </span><span class="hs-string">&quot;approved&quot;</span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-var">P.Right</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27Status%27Approved"><span class="hs-identifier hs-var">E'Status'Approved</span></a><span>
</span><a name="line-2230"></a><span>  </span><span class="hs-string">&quot;delivered&quot;</span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-var">P.Right</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27Status%27Delivered"><span class="hs-identifier hs-var">E'Status'Delivered</span></a><span>
</span><a name="line-2231"></a><span>  </span><a name="local-6989586621679141662"><a href="#local-6989586621679141662"><span class="hs-identifier">s</span></a></a><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-var">P.Left</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-string">&quot;toE'Status: enum parse failure: &quot;</span><span> </span><span class="hs-operator hs-var">P.++</span><span> </span><span class="hs-identifier hs-var">P.show</span><span> </span><a href="#local-6989586621679141662"><span class="hs-identifier hs-var">s</span></a><span>
</span><a name="line-2232"></a><span>
</span><a name="line-2233"></a><span>
</span><a name="line-2234"></a><span class="hs-comment">-- ** E'Status2</span><span>
</span><a name="line-2235"></a><span>
</span><a name="line-2236"></a><span class="hs-comment">-- | Enum of 'Text' . </span><span>
</span><a name="line-2237"></a><span class="hs-comment">-- pet status in the store</span><span>
</span><a name="line-2238"></a><span class="hs-keyword">data</span><span> </span><a name="E%27Status2"><a href="OpenAPIPetstore.Model.html#E%27Status2"><span class="hs-identifier">E'Status2</span></a></a><span>
</span><a name="line-2239"></a><span>  </span><span class="hs-glyph">=</span><span> </span><a name="E%27Status2%27Available"><a href="OpenAPIPetstore.Model.html#E%27Status2%27Available"><span class="hs-identifier">E'Status2'Available</span></a></a><span> </span><span class="hs-comment">-- ^ @&quot;available&quot;@</span><span>
</span><a name="line-2240"></a><span>  </span><span class="hs-glyph">|</span><span> </span><a name="E%27Status2%27Pending"><a href="OpenAPIPetstore.Model.html#E%27Status2%27Pending"><span class="hs-identifier">E'Status2'Pending</span></a></a><span> </span><span class="hs-comment">-- ^ @&quot;pending&quot;@</span><span>
</span><a name="line-2241"></a><span>  </span><span class="hs-glyph">|</span><span> </span><a name="E%27Status2%27Sold"><a href="OpenAPIPetstore.Model.html#E%27Status2%27Sold"><span class="hs-identifier">E'Status2'Sold</span></a></a><span> </span><span class="hs-comment">-- ^ @&quot;sold&quot;@</span><span>
</span><a name="line-2242"></a><span>  </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Typeable</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Ord</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Bounded</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Enum</span><span class="hs-special">)</span><span>
</span><a name="line-2243"></a><span>
</span><a name="line-2244"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.ToJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27Status2"><span class="hs-identifier hs-type">E'Status2</span></a><span> </span><span class="hs-keyword">where</span><span> </span><a name="local-8214565720323804008"><span class="hs-identifier">toJSON</span></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">A.toJSON</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><a href="OpenAPIPetstore.Model.html#fromE%27Status2"><span class="hs-identifier hs-var">fromE'Status2</span></a><span>
</span><a name="line-2245"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.FromJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27Status2"><span class="hs-identifier hs-type">E'Status2</span></a><span> </span><span class="hs-keyword">where</span><span> </span><a name="local-8214565720323822289"><span class="hs-identifier">parseJSON</span></a><span> </span><a name="local-6989586621679141409"><a href="#local-6989586621679141409"><span class="hs-identifier">o</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">P.either</span><span> </span><span class="hs-identifier hs-var">P.fail</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-var">pure</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><span class="hs-identifier hs-var">P.id</span><span class="hs-special">)</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><a href="OpenAPIPetstore.Model.html#toE%27Status2"><span class="hs-identifier hs-var">toE'Status2</span></a><span> </span><span class="hs-operator hs-var">=&lt;&lt;</span><span> </span><span class="hs-identifier hs-var">A.parseJSON</span><span> </span><a href="#local-6989586621679141409"><span class="hs-identifier hs-var">o</span></a><span>
</span><a name="line-2246"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">WH.ToHttpApiData</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27Status2"><span class="hs-identifier hs-type">E'Status2</span></a><span> </span><span class="hs-keyword">where</span><span> </span><a name="local-8214565720323827196"><span class="hs-identifier">toQueryParam</span></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">WH.toQueryParam</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><a href="OpenAPIPetstore.Model.html#fromE%27Status2"><span class="hs-identifier hs-var">fromE'Status2</span></a><span>
</span><a name="line-2247"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">WH.FromHttpApiData</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27Status2"><span class="hs-identifier hs-type">E'Status2</span></a><span> </span><span class="hs-keyword">where</span><span> </span><a name="local-8214565720323827188"><span class="hs-identifier">parseQueryParam</span></a><span> </span><a name="local-6989586621679141408"><a href="#local-6989586621679141408"><span class="hs-identifier">o</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">WH.parseQueryParam</span><span> </span><a href="#local-6989586621679141408"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">&gt;&gt;=</span><span> </span><span class="hs-identifier hs-var">P.left</span><span> </span><span class="hs-identifier hs-var">T.pack</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><a href="OpenAPIPetstore.Model.html#toE%27Status2"><span class="hs-identifier hs-var">toE'Status2</span></a><span>
</span><a name="line-2248"></a><span class="hs-keyword">instance</span><span> </span><a href="OpenAPIPetstore.MimeTypes.html#MimeRender"><span class="hs-identifier hs-type">MimeRender</span></a><span> </span><a href="OpenAPIPetstore.MimeTypes.html#MimeMultipartFormData"><span class="hs-identifier hs-type">MimeMultipartFormData</span></a><span> </span><a href="OpenAPIPetstore.Model.html#E%27Status2"><span class="hs-identifier hs-type">E'Status2</span></a><span> </span><span class="hs-keyword">where</span><span> </span><a name="local-8214565720323850588"><a href="OpenAPIPetstore.MimeTypes.html#mimeRender"><span class="hs-identifier">mimeRender</span></a></a><span> </span><span class="hs-identifier">_</span><span> </span><span class="hs-glyph">=</span><span> </span><a href="OpenAPIPetstore.MimeTypes.html#mimeRenderDefaultMultipartFormData"><span class="hs-identifier hs-var">mimeRenderDefaultMultipartFormData</span></a><span>
</span><a name="line-2249"></a><span>
</span><a name="line-2250"></a><span class="hs-comment">-- | unwrap 'E'Status2' enum</span><span>
</span><a name="line-2251"></a><span class="hs-identifier">fromE'Status2</span><span> </span><span class="hs-glyph">::</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27Status2"><span class="hs-identifier hs-type">E'Status2</span></a><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-type">Text</span><span>
</span><a name="line-2252"></a><a name="fromE%27Status2"><a href="OpenAPIPetstore.Model.html#fromE%27Status2"><span class="hs-identifier">fromE'Status2</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-glyph">\</span><span class="hs-glyph">case</span><span>
</span><a name="line-2253"></a><span>  </span><a href="OpenAPIPetstore.Model.html#E%27Status2%27Available"><span class="hs-identifier hs-var">E'Status2'Available</span></a><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-string">&quot;available&quot;</span><span>
</span><a name="line-2254"></a><span>  </span><a href="OpenAPIPetstore.Model.html#E%27Status2%27Pending"><span class="hs-identifier hs-var">E'Status2'Pending</span></a><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-string">&quot;pending&quot;</span><span>
</span><a name="line-2255"></a><span>  </span><a href="OpenAPIPetstore.Model.html#E%27Status2%27Sold"><span class="hs-identifier hs-var">E'Status2'Sold</span></a><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-string">&quot;sold&quot;</span><span>
</span><a name="line-2256"></a><span>
</span><a name="line-2257"></a><span class="hs-comment">-- | parse 'E'Status2' enum</span><span>
</span><a name="line-2258"></a><span class="hs-identifier">toE'Status2</span><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier hs-type">Text</span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-type">P.Either</span><span> </span><span class="hs-identifier hs-type">String</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27Status2"><span class="hs-identifier hs-type">E'Status2</span></a><span>
</span><a name="line-2259"></a><a name="toE%27Status2"><a href="OpenAPIPetstore.Model.html#toE%27Status2"><span class="hs-identifier">toE'Status2</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-glyph">\</span><span class="hs-glyph">case</span><span>
</span><a name="line-2260"></a><span>  </span><span class="hs-string">&quot;available&quot;</span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-var">P.Right</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27Status2%27Available"><span class="hs-identifier hs-var">E'Status2'Available</span></a><span>
</span><a name="line-2261"></a><span>  </span><span class="hs-string">&quot;pending&quot;</span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-var">P.Right</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27Status2%27Pending"><span class="hs-identifier hs-var">E'Status2'Pending</span></a><span>
</span><a name="line-2262"></a><span>  </span><span class="hs-string">&quot;sold&quot;</span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-var">P.Right</span><span> </span><a href="OpenAPIPetstore.Model.html#E%27Status2%27Sold"><span class="hs-identifier hs-var">E'Status2'Sold</span></a><span>
</span><a name="line-2263"></a><span>  </span><a name="local-6989586621679141663"><a href="#local-6989586621679141663"><span class="hs-identifier">s</span></a></a><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-var">P.Left</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-string">&quot;toE'Status2: enum parse failure: &quot;</span><span> </span><span class="hs-operator hs-var">P.++</span><span> </span><span class="hs-identifier hs-var">P.show</span><span> </span><a href="#local-6989586621679141663"><span class="hs-identifier hs-var">s</span></a><span>
</span><a name="line-2264"></a><span>
</span><a name="line-2265"></a><span>
</span><a name="line-2266"></a><span class="hs-comment">-- ** EnumClass</span><span>
</span><a name="line-2267"></a><span>
</span><a name="line-2268"></a><span class="hs-comment">-- | Enum of 'Text'</span><span>
</span><a name="line-2269"></a><span class="hs-keyword">data</span><span> </span><a name="EnumClass"><a href="OpenAPIPetstore.Model.html#EnumClass"><span class="hs-identifier">EnumClass</span></a></a><span>
</span><a name="line-2270"></a><span>  </span><span class="hs-glyph">=</span><span> </span><a name="EnumClass%27_abc"><a href="OpenAPIPetstore.Model.html#EnumClass%27_abc"><span class="hs-identifier">EnumClass'_abc</span></a></a><span> </span><span class="hs-comment">-- ^ @&quot;_abc&quot;@</span><span>
</span><a name="line-2271"></a><span>  </span><span class="hs-glyph">|</span><span> </span><a name="EnumClass%27_efg"><a href="OpenAPIPetstore.Model.html#EnumClass%27_efg"><span class="hs-identifier">EnumClass'_efg</span></a></a><span> </span><span class="hs-comment">-- ^ @&quot;-efg&quot;@</span><span>
</span><a name="line-2272"></a><span>  </span><span class="hs-glyph">|</span><span> </span><a name="EnumClass%27_xyz"><a href="OpenAPIPetstore.Model.html#EnumClass%27_xyz"><span class="hs-identifier">EnumClass'_xyz</span></a></a><span> </span><span class="hs-comment">-- ^ @&quot;(xyz)&quot;@</span><span>
</span><a name="line-2273"></a><span>  </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Typeable</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Ord</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Bounded</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Enum</span><span class="hs-special">)</span><span>
</span><a name="line-2274"></a><span>
</span><a name="line-2275"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.ToJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#EnumClass"><span class="hs-identifier hs-type">EnumClass</span></a><span> </span><span class="hs-keyword">where</span><span> </span><a name="local-8214565720323804008"><span class="hs-identifier">toJSON</span></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">A.toJSON</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><a href="OpenAPIPetstore.Model.html#fromEnumClass"><span class="hs-identifier hs-var">fromEnumClass</span></a><span>
</span><a name="line-2276"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.FromJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#EnumClass"><span class="hs-identifier hs-type">EnumClass</span></a><span> </span><span class="hs-keyword">where</span><span> </span><a name="local-8214565720323822289"><span class="hs-identifier">parseJSON</span></a><span> </span><a name="local-6989586621679141407"><a href="#local-6989586621679141407"><span class="hs-identifier">o</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">P.either</span><span> </span><span class="hs-identifier hs-var">P.fail</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-var">pure</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><span class="hs-identifier hs-var">P.id</span><span class="hs-special">)</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><a href="OpenAPIPetstore.Model.html#toEnumClass"><span class="hs-identifier hs-var">toEnumClass</span></a><span> </span><span class="hs-operator hs-var">=&lt;&lt;</span><span> </span><span class="hs-identifier hs-var">A.parseJSON</span><span> </span><a href="#local-6989586621679141407"><span class="hs-identifier hs-var">o</span></a><span>
</span><a name="line-2277"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">WH.ToHttpApiData</span><span> </span><a href="OpenAPIPetstore.Model.html#EnumClass"><span class="hs-identifier hs-type">EnumClass</span></a><span> </span><span class="hs-keyword">where</span><span> </span><a name="local-8214565720323827196"><span class="hs-identifier">toQueryParam</span></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">WH.toQueryParam</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><a href="OpenAPIPetstore.Model.html#fromEnumClass"><span class="hs-identifier hs-var">fromEnumClass</span></a><span>
</span><a name="line-2278"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">WH.FromHttpApiData</span><span> </span><a href="OpenAPIPetstore.Model.html#EnumClass"><span class="hs-identifier hs-type">EnumClass</span></a><span> </span><span class="hs-keyword">where</span><span> </span><a name="local-8214565720323827188"><span class="hs-identifier">parseQueryParam</span></a><span> </span><a name="local-6989586621679141406"><a href="#local-6989586621679141406"><span class="hs-identifier">o</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">WH.parseQueryParam</span><span> </span><a href="#local-6989586621679141406"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">&gt;&gt;=</span><span> </span><span class="hs-identifier hs-var">P.left</span><span> </span><span class="hs-identifier hs-var">T.pack</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><a href="OpenAPIPetstore.Model.html#toEnumClass"><span class="hs-identifier hs-var">toEnumClass</span></a><span>
</span><a name="line-2279"></a><span class="hs-keyword">instance</span><span> </span><a href="OpenAPIPetstore.MimeTypes.html#MimeRender"><span class="hs-identifier hs-type">MimeRender</span></a><span> </span><a href="OpenAPIPetstore.MimeTypes.html#MimeMultipartFormData"><span class="hs-identifier hs-type">MimeMultipartFormData</span></a><span> </span><a href="OpenAPIPetstore.Model.html#EnumClass"><span class="hs-identifier hs-type">EnumClass</span></a><span> </span><span class="hs-keyword">where</span><span> </span><a name="local-8214565720323850588"><a href="OpenAPIPetstore.MimeTypes.html#mimeRender"><span class="hs-identifier">mimeRender</span></a></a><span> </span><span class="hs-identifier">_</span><span> </span><span class="hs-glyph">=</span><span> </span><a href="OpenAPIPetstore.MimeTypes.html#mimeRenderDefaultMultipartFormData"><span class="hs-identifier hs-var">mimeRenderDefaultMultipartFormData</span></a><span>
</span><a name="line-2280"></a><span>
</span><a name="line-2281"></a><span class="hs-comment">-- | unwrap 'EnumClass' enum</span><span>
</span><a name="line-2282"></a><span class="hs-identifier">fromEnumClass</span><span> </span><span class="hs-glyph">::</span><span> </span><a href="OpenAPIPetstore.Model.html#EnumClass"><span class="hs-identifier hs-type">EnumClass</span></a><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-type">Text</span><span>
</span><a name="line-2283"></a><a name="fromEnumClass"><a href="OpenAPIPetstore.Model.html#fromEnumClass"><span class="hs-identifier">fromEnumClass</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-glyph">\</span><span class="hs-glyph">case</span><span>
</span><a name="line-2284"></a><span>  </span><a href="OpenAPIPetstore.Model.html#EnumClass%27_abc"><span class="hs-identifier hs-var">EnumClass'_abc</span></a><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-string">&quot;_abc&quot;</span><span>
</span><a name="line-2285"></a><span>  </span><a href="OpenAPIPetstore.Model.html#EnumClass%27_efg"><span class="hs-identifier hs-var">EnumClass'_efg</span></a><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-string">&quot;-efg&quot;</span><span>
</span><a name="line-2286"></a><span>  </span><a href="OpenAPIPetstore.Model.html#EnumClass%27_xyz"><span class="hs-identifier hs-var">EnumClass'_xyz</span></a><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-string">&quot;(xyz)&quot;</span><span>
</span><a name="line-2287"></a><span>
</span><a name="line-2288"></a><span class="hs-comment">-- | parse 'EnumClass' enum</span><span>
</span><a name="line-2289"></a><span class="hs-identifier">toEnumClass</span><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier hs-type">Text</span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-type">P.Either</span><span> </span><span class="hs-identifier hs-type">String</span><span> </span><a href="OpenAPIPetstore.Model.html#EnumClass"><span class="hs-identifier hs-type">EnumClass</span></a><span>
</span><a name="line-2290"></a><a name="toEnumClass"><a href="OpenAPIPetstore.Model.html#toEnumClass"><span class="hs-identifier">toEnumClass</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-glyph">\</span><span class="hs-glyph">case</span><span>
</span><a name="line-2291"></a><span>  </span><span class="hs-string">&quot;_abc&quot;</span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-var">P.Right</span><span> </span><a href="OpenAPIPetstore.Model.html#EnumClass%27_abc"><span class="hs-identifier hs-var">EnumClass'_abc</span></a><span>
</span><a name="line-2292"></a><span>  </span><span class="hs-string">&quot;-efg&quot;</span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-var">P.Right</span><span> </span><a href="OpenAPIPetstore.Model.html#EnumClass%27_efg"><span class="hs-identifier hs-var">EnumClass'_efg</span></a><span>
</span><a name="line-2293"></a><span>  </span><span class="hs-string">&quot;(xyz)&quot;</span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-var">P.Right</span><span> </span><a href="OpenAPIPetstore.Model.html#EnumClass%27_xyz"><span class="hs-identifier hs-var">EnumClass'_xyz</span></a><span>
</span><a name="line-2294"></a><span>  </span><a name="local-6989586621679141664"><a href="#local-6989586621679141664"><span class="hs-identifier">s</span></a></a><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-var">P.Left</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-string">&quot;toEnumClass: enum parse failure: &quot;</span><span> </span><span class="hs-operator hs-var">P.++</span><span> </span><span class="hs-identifier hs-var">P.show</span><span> </span><a href="#local-6989586621679141664"><span class="hs-identifier hs-var">s</span></a><span>
</span><a name="line-2295"></a><span>
</span><a name="line-2296"></a><span>
</span><a name="line-2297"></a><span class="hs-comment">-- ** OuterEnum</span><span>
</span><a name="line-2298"></a><span>
</span><a name="line-2299"></a><span class="hs-comment">-- | Enum of 'Text'</span><span>
</span><a name="line-2300"></a><span class="hs-keyword">data</span><span> </span><a name="OuterEnum"><a href="OpenAPIPetstore.Model.html#OuterEnum"><span class="hs-identifier">OuterEnum</span></a></a><span>
</span><a name="line-2301"></a><span>  </span><span class="hs-glyph">=</span><span> </span><a name="OuterEnum%27Placed"><a href="OpenAPIPetstore.Model.html#OuterEnum%27Placed"><span class="hs-identifier">OuterEnum'Placed</span></a></a><span> </span><span class="hs-comment">-- ^ @&quot;placed&quot;@</span><span>
</span><a name="line-2302"></a><span>  </span><span class="hs-glyph">|</span><span> </span><a name="OuterEnum%27Approved"><a href="OpenAPIPetstore.Model.html#OuterEnum%27Approved"><span class="hs-identifier">OuterEnum'Approved</span></a></a><span> </span><span class="hs-comment">-- ^ @&quot;approved&quot;@</span><span>
</span><a name="line-2303"></a><span>  </span><span class="hs-glyph">|</span><span> </span><a name="OuterEnum%27Delivered"><a href="OpenAPIPetstore.Model.html#OuterEnum%27Delivered"><span class="hs-identifier">OuterEnum'Delivered</span></a></a><span> </span><span class="hs-comment">-- ^ @&quot;delivered&quot;@</span><span>
</span><a name="line-2304"></a><span>  </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Typeable</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Ord</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Bounded</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Enum</span><span class="hs-special">)</span><span>
</span><a name="line-2305"></a><span>
</span><a name="line-2306"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.ToJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#OuterEnum"><span class="hs-identifier hs-type">OuterEnum</span></a><span> </span><span class="hs-keyword">where</span><span> </span><a name="local-8214565720323804008"><span class="hs-identifier">toJSON</span></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">A.toJSON</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><a href="OpenAPIPetstore.Model.html#fromOuterEnum"><span class="hs-identifier hs-var">fromOuterEnum</span></a><span>
</span><a name="line-2307"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">A.FromJSON</span><span> </span><a href="OpenAPIPetstore.Model.html#OuterEnum"><span class="hs-identifier hs-type">OuterEnum</span></a><span> </span><span class="hs-keyword">where</span><span> </span><a name="local-8214565720323822289"><span class="hs-identifier">parseJSON</span></a><span> </span><a name="local-6989586621679141405"><a href="#local-6989586621679141405"><span class="hs-identifier">o</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">P.either</span><span> </span><span class="hs-identifier hs-var">P.fail</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-var">pure</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><span class="hs-identifier hs-var">P.id</span><span class="hs-special">)</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><a href="OpenAPIPetstore.Model.html#toOuterEnum"><span class="hs-identifier hs-var">toOuterEnum</span></a><span> </span><span class="hs-operator hs-var">=&lt;&lt;</span><span> </span><span class="hs-identifier hs-var">A.parseJSON</span><span> </span><a href="#local-6989586621679141405"><span class="hs-identifier hs-var">o</span></a><span>
</span><a name="line-2308"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">WH.ToHttpApiData</span><span> </span><a href="OpenAPIPetstore.Model.html#OuterEnum"><span class="hs-identifier hs-type">OuterEnum</span></a><span> </span><span class="hs-keyword">where</span><span> </span><a name="local-8214565720323827196"><span class="hs-identifier">toQueryParam</span></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">WH.toQueryParam</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><a href="OpenAPIPetstore.Model.html#fromOuterEnum"><span class="hs-identifier hs-var">fromOuterEnum</span></a><span>
</span><a name="line-2309"></a><span class="hs-keyword">instance</span><span> </span><span class="hs-identifier hs-type">WH.FromHttpApiData</span><span> </span><a href="OpenAPIPetstore.Model.html#OuterEnum"><span class="hs-identifier hs-type">OuterEnum</span></a><span> </span><span class="hs-keyword">where</span><span> </span><a name="local-8214565720323827188"><span class="hs-identifier">parseQueryParam</span></a><span> </span><a name="local-6989586621679141404"><a href="#local-6989586621679141404"><span class="hs-identifier">o</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">WH.parseQueryParam</span><span> </span><a href="#local-6989586621679141404"><span class="hs-identifier hs-var">o</span></a><span> </span><span class="hs-operator hs-var">&gt;&gt;=</span><span> </span><span class="hs-identifier hs-var">P.left</span><span> </span><span class="hs-identifier hs-var">T.pack</span><span> </span><span class="hs-operator hs-var">.</span><span> </span><a href="OpenAPIPetstore.Model.html#toOuterEnum"><span class="hs-identifier hs-var">toOuterEnum</span></a><span>
</span><a name="line-2310"></a><span class="hs-keyword">instance</span><span> </span><a href="OpenAPIPetstore.MimeTypes.html#MimeRender"><span class="hs-identifier hs-type">MimeRender</span></a><span> </span><a href="OpenAPIPetstore.MimeTypes.html#MimeMultipartFormData"><span class="hs-identifier hs-type">MimeMultipartFormData</span></a><span> </span><a href="OpenAPIPetstore.Model.html#OuterEnum"><span class="hs-identifier hs-type">OuterEnum</span></a><span> </span><span class="hs-keyword">where</span><span> </span><a name="local-8214565720323850588"><a href="OpenAPIPetstore.MimeTypes.html#mimeRender"><span class="hs-identifier">mimeRender</span></a></a><span> </span><span class="hs-identifier">_</span><span> </span><span class="hs-glyph">=</span><span> </span><a href="OpenAPIPetstore.MimeTypes.html#mimeRenderDefaultMultipartFormData"><span class="hs-identifier hs-var">mimeRenderDefaultMultipartFormData</span></a><span>
</span><a name="line-2311"></a><span>
</span><a name="line-2312"></a><span class="hs-comment">-- | unwrap 'OuterEnum' enum</span><span>
</span><a name="line-2313"></a><span class="hs-identifier">fromOuterEnum</span><span> </span><span class="hs-glyph">::</span><span> </span><a href="OpenAPIPetstore.Model.html#OuterEnum"><span class="hs-identifier hs-type">OuterEnum</span></a><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-type">Text</span><span>
</span><a name="line-2314"></a><a name="fromOuterEnum"><a href="OpenAPIPetstore.Model.html#fromOuterEnum"><span class="hs-identifier">fromOuterEnum</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-glyph">\</span><span class="hs-glyph">case</span><span>
</span><a name="line-2315"></a><span>  </span><a href="OpenAPIPetstore.Model.html#OuterEnum%27Placed"><span class="hs-identifier hs-var">OuterEnum'Placed</span></a><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-string">&quot;placed&quot;</span><span>
</span><a name="line-2316"></a><span>  </span><a href="OpenAPIPetstore.Model.html#OuterEnum%27Approved"><span class="hs-identifier hs-var">OuterEnum'Approved</span></a><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-string">&quot;approved&quot;</span><span>
</span><a name="line-2317"></a><span>  </span><a href="OpenAPIPetstore.Model.html#OuterEnum%27Delivered"><span class="hs-identifier hs-var">OuterEnum'Delivered</span></a><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-string">&quot;delivered&quot;</span><span>
</span><a name="line-2318"></a><span>
</span><a name="line-2319"></a><span class="hs-comment">-- | parse 'OuterEnum' enum</span><span>
</span><a name="line-2320"></a><span class="hs-identifier">toOuterEnum</span><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier hs-type">Text</span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-type">P.Either</span><span> </span><span class="hs-identifier hs-type">String</span><span> </span><a href="OpenAPIPetstore.Model.html#OuterEnum"><span class="hs-identifier hs-type">OuterEnum</span></a><span>
</span><a name="line-2321"></a><a name="toOuterEnum"><a href="OpenAPIPetstore.Model.html#toOuterEnum"><span class="hs-identifier">toOuterEnum</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-glyph">\</span><span class="hs-glyph">case</span><span>
</span><a name="line-2322"></a><span>  </span><span class="hs-string">&quot;placed&quot;</span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-var">P.Right</span><span> </span><a href="OpenAPIPetstore.Model.html#OuterEnum%27Placed"><span class="hs-identifier hs-var">OuterEnum'Placed</span></a><span>
</span><a name="line-2323"></a><span>  </span><span class="hs-string">&quot;approved&quot;</span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-var">P.Right</span><span> </span><a href="OpenAPIPetstore.Model.html#OuterEnum%27Approved"><span class="hs-identifier hs-var">OuterEnum'Approved</span></a><span>
</span><a name="line-2324"></a><span>  </span><span class="hs-string">&quot;delivered&quot;</span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-var">P.Right</span><span> </span><a href="OpenAPIPetstore.Model.html#OuterEnum%27Delivered"><span class="hs-identifier hs-var">OuterEnum'Delivered</span></a><span>
</span><a name="line-2325"></a><span>  </span><a name="local-6989586621679141665"><a href="#local-6989586621679141665"><span class="hs-identifier">s</span></a></a><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier hs-var">P.Left</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-string">&quot;toOuterEnum: enum parse failure: &quot;</span><span> </span><span class="hs-operator hs-var">P.++</span><span> </span><span class="hs-identifier hs-var">P.show</span><span> </span><a href="#local-6989586621679141665"><span class="hs-identifier hs-var">s</span></a><span>
</span><a name="line-2326"></a><span>
</span><a name="line-2327"></a><span>
</span><a name="line-2328"></a><span class="hs-comment">-- * Auth Methods</span><span>
</span><a name="line-2329"></a><span>
</span><a name="line-2330"></a><span class="hs-comment">-- ** AuthApiKeyApiKey</span><span>
</span><a name="line-2331"></a><span class="hs-keyword">data</span><span> </span><a name="AuthApiKeyApiKey"><a href="OpenAPIPetstore.Model.html#AuthApiKeyApiKey"><span class="hs-identifier">AuthApiKeyApiKey</span></a></a><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-2332"></a><span>  </span><a name="AuthApiKeyApiKey"><a href="OpenAPIPetstore.Model.html#AuthApiKeyApiKey"><span class="hs-identifier">AuthApiKeyApiKey</span></a></a><span> </span><span class="hs-identifier hs-type">Text</span><span> </span><span class="hs-comment">-- ^ secret</span><span>
</span><a name="line-2333"></a><span>  </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Typeable</span><span class="hs-special">)</span><span>
</span><a name="line-2334"></a><span>
</span><a name="line-2335"></a><span class="hs-keyword">instance</span><span> </span><a href="OpenAPIPetstore.Core.html#AuthMethod"><span class="hs-identifier hs-type">AuthMethod</span></a><span> </span><a href="OpenAPIPetstore.Model.html#AuthApiKeyApiKey"><span class="hs-identifier hs-type">AuthApiKeyApiKey</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-2336"></a><span>  </span><a name="local-8214565720323894807"><a href="OpenAPIPetstore.Core.html#applyAuthMethod"><span class="hs-identifier">applyAuthMethod</span></a></a><span> </span><span class="hs-identifier">_</span><span> </span><a name="local-6989586621679141401"><a href="#local-6989586621679141401"><span class="hs-identifier">a</span></a></a><span class="hs-glyph">@</span><span class="hs-special">(</span><a href="OpenAPIPetstore.Model.html#AuthApiKeyApiKey"><span class="hs-identifier hs-var">AuthApiKeyApiKey</span></a><span> </span><a name="local-6989586621679141402"><a href="#local-6989586621679141402"><span class="hs-identifier">secret</span></a></a><span class="hs-special">)</span><span> </span><a name="local-6989586621679141403"><a href="#local-6989586621679141403"><span class="hs-identifier">req</span></a></a><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-2337"></a><span>    </span><span class="hs-identifier hs-var">P.pure</span><span> </span><span class="hs-operator hs-var">$</span><span>
</span><a name="line-2338"></a><span>    </span><span class="hs-keyword">if</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-var">P.typeOf</span><span> </span><a href="#local-6989586621679141401"><span class="hs-identifier hs-var">a</span></a><span> </span><span class="hs-special">`</span><span class="hs-identifier hs-var">P.elem</span><span class="hs-special">`</span><span> </span><span class="hs-identifier">rAuthTypes</span><span> </span><a href="#local-6989586621679141403"><span class="hs-identifier hs-var">req</span></a><span class="hs-special">)</span><span>
</span><a name="line-2339"></a><span>      </span><span class="hs-keyword">then</span><span> </span><a href="#local-6989586621679141403"><span class="hs-identifier hs-var">req</span></a><span> </span><span class="hs-special">`</span><a href="OpenAPIPetstore.Core.html#setHeader"><span class="hs-identifier hs-var">setHeader</span></a><span class="hs-special">`</span><span> </span><a href="OpenAPIPetstore.Core.html#toHeader"><span class="hs-identifier hs-var">toHeader</span></a><span> </span><span class="hs-special">(</span><span class="hs-string">&quot;api_key&quot;</span><span class="hs-special">,</span><span> </span><a href="#local-6989586621679141402"><span class="hs-identifier hs-var">secret</span></a><span class="hs-special">)</span><span>
</span><a name="line-2340"></a><span>           </span><span class="hs-operator hs-var">&amp;</span><span> </span><span class="hs-identifier hs-var">L.over</span><span> </span><a href="OpenAPIPetstore.Core.html#rAuthTypesL"><span class="hs-identifier hs-var">rAuthTypesL</span></a><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-var">P.filter</span><span> </span><span class="hs-special">(</span><span class="hs-operator hs-var">/=</span><span> </span><span class="hs-identifier hs-var">P.typeOf</span><span> </span><a href="#local-6989586621679141401"><span class="hs-identifier hs-var">a</span></a><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><a name="line-2341"></a><span>      </span><span class="hs-keyword">else</span><span> </span><a href="#local-6989586621679141403"><span class="hs-identifier hs-var">req</span></a><span>
</span><a name="line-2342"></a><span>
</span><a name="line-2343"></a><span class="hs-comment">-- ** AuthApiKeyApiKeyQuery</span><span>
</span><a name="line-2344"></a><span class="hs-keyword">data</span><span> </span><a name="AuthApiKeyApiKeyQuery"><a href="OpenAPIPetstore.Model.html#AuthApiKeyApiKeyQuery"><span class="hs-identifier">AuthApiKeyApiKeyQuery</span></a></a><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-2345"></a><span>  </span><a name="AuthApiKeyApiKeyQuery"><a href="OpenAPIPetstore.Model.html#AuthApiKeyApiKeyQuery"><span class="hs-identifier">AuthApiKeyApiKeyQuery</span></a></a><span> </span><span class="hs-identifier hs-type">Text</span><span> </span><span class="hs-comment">-- ^ secret</span><span>
</span><a name="line-2346"></a><span>  </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Typeable</span><span class="hs-special">)</span><span>
</span><a name="line-2347"></a><span>
</span><a name="line-2348"></a><span class="hs-keyword">instance</span><span> </span><a href="OpenAPIPetstore.Core.html#AuthMethod"><span class="hs-identifier hs-type">AuthMethod</span></a><span> </span><a href="OpenAPIPetstore.Model.html#AuthApiKeyApiKeyQuery"><span class="hs-identifier hs-type">AuthApiKeyApiKeyQuery</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-2349"></a><span>  </span><a name="local-8214565720323894807"><a href="OpenAPIPetstore.Core.html#applyAuthMethod"><span class="hs-identifier">applyAuthMethod</span></a></a><span> </span><span class="hs-identifier">_</span><span> </span><a name="local-6989586621679141398"><a href="#local-6989586621679141398"><span class="hs-identifier">a</span></a></a><span class="hs-glyph">@</span><span class="hs-special">(</span><a href="OpenAPIPetstore.Model.html#AuthApiKeyApiKeyQuery"><span class="hs-identifier hs-var">AuthApiKeyApiKeyQuery</span></a><span> </span><a name="local-6989586621679141399"><a href="#local-6989586621679141399"><span class="hs-identifier">secret</span></a></a><span class="hs-special">)</span><span> </span><a name="local-6989586621679141400"><a href="#local-6989586621679141400"><span class="hs-identifier">req</span></a></a><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-2350"></a><span>    </span><span class="hs-identifier hs-var">P.pure</span><span> </span><span class="hs-operator hs-var">$</span><span>
</span><a name="line-2351"></a><span>    </span><span class="hs-keyword">if</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-var">P.typeOf</span><span> </span><a href="#local-6989586621679141398"><span class="hs-identifier hs-var">a</span></a><span> </span><span class="hs-special">`</span><span class="hs-identifier hs-var">P.elem</span><span class="hs-special">`</span><span> </span><span class="hs-identifier">rAuthTypes</span><span> </span><a href="#local-6989586621679141400"><span class="hs-identifier hs-var">req</span></a><span class="hs-special">)</span><span>
</span><a name="line-2352"></a><span>      </span><span class="hs-keyword">then</span><span> </span><a href="#local-6989586621679141400"><span class="hs-identifier hs-var">req</span></a><span> </span><span class="hs-special">`</span><a href="OpenAPIPetstore.Core.html#setQuery"><span class="hs-identifier hs-var">setQuery</span></a><span class="hs-special">`</span><span> </span><a href="OpenAPIPetstore.Core.html#toQuery"><span class="hs-identifier hs-var">toQuery</span></a><span> </span><span class="hs-special">(</span><span class="hs-string">&quot;api_key_query&quot;</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-var">Just</span><span> </span><a href="#local-6989586621679141399"><span class="hs-identifier hs-var">secret</span></a><span class="hs-special">)</span><span>
</span><a name="line-2353"></a><span>           </span><span class="hs-operator hs-var">&amp;</span><span> </span><span class="hs-identifier hs-var">L.over</span><span> </span><a href="OpenAPIPetstore.Core.html#rAuthTypesL"><span class="hs-identifier hs-var">rAuthTypesL</span></a><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-var">P.filter</span><span> </span><span class="hs-special">(</span><span class="hs-operator hs-var">/=</span><span> </span><span class="hs-identifier hs-var">P.typeOf</span><span> </span><a href="#local-6989586621679141398"><span class="hs-identifier hs-var">a</span></a><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><a name="line-2354"></a><span>      </span><span class="hs-keyword">else</span><span> </span><a href="#local-6989586621679141400"><span class="hs-identifier hs-var">req</span></a><span>
</span><a name="line-2355"></a><span>
</span><a name="line-2356"></a><span class="hs-comment">-- ** AuthBasicHttpBasicTest</span><span>
</span><a name="line-2357"></a><span class="hs-keyword">data</span><span> </span><a name="AuthBasicHttpBasicTest"><a href="OpenAPIPetstore.Model.html#AuthBasicHttpBasicTest"><span class="hs-identifier">AuthBasicHttpBasicTest</span></a></a><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-2358"></a><span>  </span><a name="AuthBasicHttpBasicTest"><a href="OpenAPIPetstore.Model.html#AuthBasicHttpBasicTest"><span class="hs-identifier">AuthBasicHttpBasicTest</span></a></a><span> </span><span class="hs-identifier hs-type">B.ByteString</span><span> </span><span class="hs-identifier hs-type">B.ByteString</span><span> </span><span class="hs-comment">-- ^ username password</span><span>
</span><a name="line-2359"></a><span>  </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Typeable</span><span class="hs-special">)</span><span>
</span><a name="line-2360"></a><span>
</span><a name="line-2361"></a><span class="hs-keyword">instance</span><span> </span><a href="OpenAPIPetstore.Core.html#AuthMethod"><span class="hs-identifier hs-type">AuthMethod</span></a><span> </span><a href="OpenAPIPetstore.Model.html#AuthBasicHttpBasicTest"><span class="hs-identifier hs-type">AuthBasicHttpBasicTest</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-2362"></a><span>  </span><a name="local-8214565720323894807"><a href="OpenAPIPetstore.Core.html#applyAuthMethod"><span class="hs-identifier">applyAuthMethod</span></a></a><span> </span><span class="hs-identifier">_</span><span> </span><a name="local-6989586621679141393"><a href="#local-6989586621679141393"><span class="hs-identifier">a</span></a></a><span class="hs-glyph">@</span><span class="hs-special">(</span><a href="OpenAPIPetstore.Model.html#AuthBasicHttpBasicTest"><span class="hs-identifier hs-var">AuthBasicHttpBasicTest</span></a><span> </span><a name="local-6989586621679141394"><a href="#local-6989586621679141394"><span class="hs-identifier">user</span></a></a><span> </span><a name="local-6989586621679141395"><a href="#local-6989586621679141395"><span class="hs-identifier">pw</span></a></a><span class="hs-special">)</span><span> </span><a name="local-6989586621679141396"><a href="#local-6989586621679141396"><span class="hs-identifier">req</span></a></a><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-2363"></a><span>    </span><span class="hs-identifier hs-var">P.pure</span><span> </span><span class="hs-operator hs-var">$</span><span>
</span><a name="line-2364"></a><span>    </span><span class="hs-keyword">if</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-var">P.typeOf</span><span> </span><a href="#local-6989586621679141393"><span class="hs-identifier hs-var">a</span></a><span> </span><span class="hs-special">`</span><span class="hs-identifier hs-var">P.elem</span><span class="hs-special">`</span><span> </span><span class="hs-identifier">rAuthTypes</span><span> </span><a href="#local-6989586621679141396"><span class="hs-identifier hs-var">req</span></a><span class="hs-special">)</span><span>
</span><a name="line-2365"></a><span>      </span><span class="hs-keyword">then</span><span> </span><a href="#local-6989586621679141396"><span class="hs-identifier hs-var">req</span></a><span> </span><span class="hs-special">`</span><a href="OpenAPIPetstore.Core.html#setHeader"><span class="hs-identifier hs-var">setHeader</span></a><span class="hs-special">`</span><span> </span><a href="OpenAPIPetstore.Core.html#toHeader"><span class="hs-identifier hs-var">toHeader</span></a><span> </span><span class="hs-special">(</span><span class="hs-string">&quot;Authorization&quot;</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-var">T.decodeUtf8</span><span> </span><a href="#local-6989586621679141397"><span class="hs-identifier hs-var">cred</span></a><span class="hs-special">)</span><span>
</span><a name="line-2366"></a><span>           </span><span class="hs-operator hs-var">&amp;</span><span> </span><span class="hs-identifier hs-var">L.over</span><span> </span><a href="OpenAPIPetstore.Core.html#rAuthTypesL"><span class="hs-identifier hs-var">rAuthTypesL</span></a><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-var">P.filter</span><span> </span><span class="hs-special">(</span><span class="hs-operator hs-var">/=</span><span> </span><span class="hs-identifier hs-var">P.typeOf</span><span> </span><a href="#local-6989586621679141393"><span class="hs-identifier hs-var">a</span></a><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><a name="line-2367"></a><span>      </span><span class="hs-keyword">else</span><span> </span><a href="#local-6989586621679141396"><span class="hs-identifier hs-var">req</span></a><span>
</span><a name="line-2368"></a><span>    </span><span class="hs-keyword">where</span><span> </span><a name="local-6989586621679141397"><a href="#local-6989586621679141397"><span class="hs-identifier">cred</span></a></a><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier hs-var">BC.append</span><span> </span><span class="hs-string">&quot;Basic &quot;</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-var">B64.encode</span><span> </span><span class="hs-operator hs-var">$</span><span> </span><span class="hs-identifier hs-var">BC.concat</span><span> </span><span class="hs-special">[</span><span> </span><a href="#local-6989586621679141394"><span class="hs-identifier hs-var">user</span></a><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;:&quot;</span><span class="hs-special">,</span><span> </span><a href="#local-6989586621679141395"><span class="hs-identifier hs-var">pw</span></a><span> </span><span class="hs-special">]</span><span class="hs-special">)</span><span>
</span><a name="line-2369"></a><span>
</span><a name="line-2370"></a><span class="hs-comment">-- ** AuthOAuthPetstoreAuth</span><span>
</span><a name="line-2371"></a><span class="hs-keyword">data</span><span> </span><a name="AuthOAuthPetstoreAuth"><a href="OpenAPIPetstore.Model.html#AuthOAuthPetstoreAuth"><span class="hs-identifier">AuthOAuthPetstoreAuth</span></a></a><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-2372"></a><span>  </span><a name="AuthOAuthPetstoreAuth"><a href="OpenAPIPetstore.Model.html#AuthOAuthPetstoreAuth"><span class="hs-identifier">AuthOAuthPetstoreAuth</span></a></a><span> </span><span class="hs-identifier hs-type">Text</span><span> </span><span class="hs-comment">-- ^ secret</span><span>
</span><a name="line-2373"></a><span>  </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-type">P.Eq</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Show</span><span class="hs-special">,</span><span> </span><span class="hs-identifier hs-type">P.Typeable</span><span class="hs-special">)</span><span>
</span><a name="line-2374"></a><span>
</span><a name="line-2375"></a><span class="hs-keyword">instance</span><span> </span><a href="OpenAPIPetstore.Core.html#AuthMethod"><span class="hs-identifier hs-type">AuthMethod</span></a><span> </span><a href="OpenAPIPetstore.Model.html#AuthOAuthPetstoreAuth"><span class="hs-identifier hs-type">AuthOAuthPetstoreAuth</span></a><span> </span><span class="hs-keyword">where</span><span>
</span><a name="line-2376"></a><span>  </span><a name="local-8214565720323894807"><a href="OpenAPIPetstore.Core.html#applyAuthMethod"><span class="hs-identifier">applyAuthMethod</span></a></a><span> </span><span class="hs-identifier">_</span><span> </span><a name="local-6989586621679141390"><a href="#local-6989586621679141390"><span class="hs-identifier">a</span></a></a><span class="hs-glyph">@</span><span class="hs-special">(</span><a href="OpenAPIPetstore.Model.html#AuthOAuthPetstoreAuth"><span class="hs-identifier hs-var">AuthOAuthPetstoreAuth</span></a><span> </span><a name="local-6989586621679141391"><a href="#local-6989586621679141391"><span class="hs-identifier">secret</span></a></a><span class="hs-special">)</span><span> </span><a name="local-6989586621679141392"><a href="#local-6989586621679141392"><span class="hs-identifier">req</span></a></a><span> </span><span class="hs-glyph">=</span><span>
</span><a name="line-2377"></a><span>    </span><span class="hs-identifier hs-var">P.pure</span><span> </span><span class="hs-operator hs-var">$</span><span>
</span><a name="line-2378"></a><span>    </span><span class="hs-keyword">if</span><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-var">P.typeOf</span><span> </span><a href="#local-6989586621679141390"><span class="hs-identifier hs-var">a</span></a><span> </span><span class="hs-special">`</span><span class="hs-identifier hs-var">P.elem</span><span class="hs-special">`</span><span> </span><span class="hs-identifier">rAuthTypes</span><span> </span><a href="#local-6989586621679141392"><span class="hs-identifier hs-var">req</span></a><span class="hs-special">)</span><span>
</span><a name="line-2379"></a><span>      </span><span class="hs-keyword">then</span><span> </span><a href="#local-6989586621679141392"><span class="hs-identifier hs-var">req</span></a><span> </span><span class="hs-special">`</span><a href="OpenAPIPetstore.Core.html#setHeader"><span class="hs-identifier hs-var">setHeader</span></a><span class="hs-special">`</span><span> </span><a href="OpenAPIPetstore.Core.html#toHeader"><span class="hs-identifier hs-var">toHeader</span></a><span> </span><span class="hs-special">(</span><span class="hs-string">&quot;Authorization&quot;</span><span class="hs-special">,</span><span> </span><span class="hs-string">&quot;Bearer &quot;</span><span> </span><span class="hs-operator hs-var">&lt;&gt;</span><span> </span><a href="#local-6989586621679141391"><span class="hs-identifier hs-var">secret</span></a><span class="hs-special">)</span><span>
</span><a name="line-2380"></a><span>           </span><span class="hs-operator hs-var">&amp;</span><span> </span><span class="hs-identifier hs-var">L.over</span><span> </span><a href="OpenAPIPetstore.Core.html#rAuthTypesL"><span class="hs-identifier hs-var">rAuthTypesL</span></a><span> </span><span class="hs-special">(</span><span class="hs-identifier hs-var">P.filter</span><span> </span><span class="hs-special">(</span><span class="hs-operator hs-var">/=</span><span> </span><span class="hs-identifier hs-var">P.typeOf</span><span> </span><a href="#local-6989586621679141390"><span class="hs-identifier hs-var">a</span></a><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><a name="line-2381"></a><span>      </span><span class="hs-keyword">else</span><span> </span><a href="#local-6989586621679141392"><span class="hs-identifier hs-var">req</span></a><span>
</span><a name="line-2382"></a><span>
</span><a name="line-2383"></a><span>
</span><a name="line-2384"></a></pre></body></html>